X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=.cirrus.yml;h=adc3b3c26efc58d00ca406f97dfaf52e20016ba0;hb=9c59f89a7fc736cd26a2d271ac56afd37c42237b;hp=1562dc36b30a1d8364d91b7fc9a35c61b484cd2d;hpb=c0e01749a40fc9006c9aed41ccfbffc1ae085c82;p=awesomized%2Flibmemcached diff --git a/.cirrus.yml b/.cirrus.yml index 1562dc36..adc3b3c2 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -14,6 +14,15 @@ task: 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 @@ -33,7 +42,10 @@ task: svn co https://svn.freebsd.org/ports/tags/${ports}/Templates /usr/ports/Templates cd memcached echo bin/memcached > pkg-plist - make all install SASLPWDB_CONFIGURE_ENABLE=sasl-pwdb OPTIONS_SET="SASL SASLPWDB" OPTIONS_DEFINE="SASL SASLPWDB" + make all install \ + SASLPWDB_CONFIGURE_ENABLE=sasl-pwdb \ + OPTIONS_SET="SASL SASLPWDB" \ + OPTIONS_DEFINE="SASL SASLPWDB" cd .. prepare_script: | mkdir build @@ -44,6 +56,9 @@ task: 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 @@ -53,12 +68,12 @@ task: gitter_success_script: | curl -sS "${gitter}" \ --data-urlencode "level=info" \ - --data-urlencode "message=Cirrus-CI build for ${CIRRUS_BRANCH} on ${OS} [succeeded](https://cirrus-ci.org/task/${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: gitter_failure_script: | curl -sS "${gitter}" \ --data-urlencode "level=error" \ - --data-urlencode "message=Cirrus-CI build for ${CIRRUS_BRANCH} on ${OS} [failed](https://cirrus-ci.org/task/${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