projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
testing: freebsd [travis skip]
[awesomized/libmemcached]
/
.cirrus.yml
diff --git
a/.cirrus.yml
b/.cirrus.yml
index 58f79e477b624babd93802773e015f906000264d..43098905e4590fd28c134169f6515fa7c61aed7f 100644
(file)
--- a/
.cirrus.yml
+++ b/
.cirrus.yml
@@
-14,6
+14,15
@@
task:
ports: RELEASE_12_1_0
freebsd_instance:
image_family: freebsd-12-1
ports: RELEASE_12_1_0
freebsd_instance:
image_family: freebsd-12-1
+ discover_script: |
+ sudo -u nobody ulimit -a
+ cat /etc/hosts
+ cat /etc/host.conf
+ cat /etc/resolv.conf
+ ifconfig
+ netstat
+ sysctl -a
+ dmesg
dependencies_script: |
pkg update
pkg upgrade -y
dependencies_script: |
pkg update
pkg upgrade -y
@@
-38,25
+47,30
@@
task:
prepare_script: |
mkdir build
chown nobody build
prepare_script: |
mkdir build
chown nobody build
- chsh -s /bin/sh nobody
+ pw user mod nobody -s /bin/sh -d $(pwd)/build
configure_script: |
configure_script: |
- sudo -E -u nobody cmake -S . -B build
+ sudo -E -u nobody
CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage"
cmake -S . -B build
build_script: |
sudo -E -u nobody make -C build -j2 all
test_script: |
build_script: |
sudo -E -u nobody make -C build -j2 all
test_script: |
+ sysctl net.inet.tcp.msl=500
+ sysctl net.inet.tcp.blackhole=0
+ sysctl net.inet.udp.blackhole=0
sudo -E -u nobody make -C build -j2 test/fast
install_script: |
sudo -E -u nobody make -C build install DESTDIR=/tmp
on_success:
sudo -E -u nobody make -C build -j2 test/fast
install_script: |
sudo -E -u nobody make -C build install DESTDIR=/tmp
on_success:
- gitter_script: |
+ codecov_script: |
+ bash <(curl -s https://codecov.io/bash) -x "llvm-cov gcov"
+ gitter_success_script: |
curl -sS "${gitter}" \
--data-urlencode "level=info" \
curl -sS "${gitter}" \
--data-urlencode "level=info" \
- --data-urlencode "message=Cirrus
-CI build for ${CIRRUS_BRANCH} on ${OS} [succeeded](https://cirrus-ci.org/tasg/${CIRRUS_TASK_ID
})"
+ --data-urlencode "message=Cirrus
[${CIRRUS_REPO_FULL_NAME}](https://github.com/${CIRRUS_REPO_FULL_NAME}/compare/${CIRRUS_LAST_GREEN_CHANGE}...${CIRRUS_CHANGE_IN_REPO}) (${CIRRUS_BRANCH}) [success](https://cirrus-ci.com/task/${CIRRUS_TASK_ID}) (${CIRRUS_OS
})"
on_failure:
on_failure:
- gitter_script: |
+ gitter_
failure_
script: |
curl -sS "${gitter}" \
--data-urlencode "level=error" \
curl -sS "${gitter}" \
--data-urlencode "level=error" \
- --data-urlencode "message=Cirrus
-CI build for ${CIRRUS_BRANCH} on ${OS} [failed](https://cirrus-ci.org/tasg/${CIRRUS_TASK_ID
})"
+ --data-urlencode "message=Cirrus
[${CIRRUS_REPO_FULL_NAME}](https://github.com/${CIRRUS_REPO_FULL_NAME}/compare/${CIRRUS_LAST_GREEN_CHANGE}...${CIRRUS_CHANGE_IN_REPO}) (${CIRRUS_BRANCH}) [failure](https://cirrus-ci.com/task/${CIRRUS_TASK_ID}) (${CIRRUS_OS
})"
testlog_artifacts:
path: build/Testing/Temporary/LastTest.log
type: text/plain
testlog_artifacts:
path: build/Testing/Temporary/LastTest.log
type: text/plain