2017-04-04 04:34:05 +02:00
|
|
|
language: c
|
|
|
|
dist: trusty
|
|
|
|
sudo: true
|
|
|
|
|
2017-10-31 03:07:53 +01:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
2017-06-29 17:17:48 +02:00
|
|
|
env:
|
2017-10-24 04:06:14 +02:00
|
|
|
- NO_VALGRIND=1 ARCH=32 DEVELOPER=1
|
|
|
|
- NO_VALGRIND=1 ARCH=64 DEVELOPER=1
|
|
|
|
- NO_VALGRIND=0 ARCH=64 DEVELOPER=1
|
|
|
|
- NO_VALGRIND=0 ARCH=64 DEVELOPER=0
|
2017-06-29 17:17:48 +02:00
|
|
|
|
2017-04-04 04:34:05 +02:00
|
|
|
# Trusty (aka 14.04) is way way too old, so run in docker...
|
|
|
|
script:
|
2017-10-31 12:29:22 +01:00
|
|
|
- docker pull cdecker/lightning-ci:${ARCH}bit | tee
|
2017-10-31 12:59:37 +01:00
|
|
|
- echo "Building..."
|
|
|
|
- echo "travis_fold:start:SCRIPT folding starts"
|
2017-10-24 04:06:14 +02:00
|
|
|
- docker run --rm=true -v "${TRAVIS_BUILD_DIR}":/build -t cdecker/lightning-ci:${ARCH}bit make -j3 DEVELOPER=${DEVELOPER}
|
2017-10-31 12:59:37 +01:00
|
|
|
- echo "travis_fold:end:SCRIPT folding ends"
|
2017-10-24 04:06:14 +02:00
|
|
|
- docker run --rm=true -e NO_VALGRIND=${NO_VALGRIND:-0} -e TEST_DEBUG=${TEST_DEBUG:-0} -v "${TRAVIS_BUILD_DIR}":/build -t cdecker/lightning-ci:${ARCH}bit make check DEVELOPER=${DEVELOPER}
|
2017-12-01 14:40:22 +01:00
|
|
|
# - git clone https://github.com/lightningnetwork/lightning-rfc.git
|
|
|
|
# - docker run --rm=true -v "${TRAVIS_BUILD_DIR}":/build -t cdecker/lightning-ci:${ARCH}bit make check-source BOLTDIR=lightning-rfc
|