lokinet/.travis.yml

30 lines
964 B
YAML
Raw Normal View History

2019-05-29 04:43:15 +00:00
sudo: required
2019-05-29 04:49:43 +00:00
dist: xenial
2019-05-29 04:43:15 +00:00
os: linux
language: minimal
cache:
directories:
- contrib/depends/built
- contrib/depends/sdk-sources
- $HOME/.ccache
env:
global:
2019-05-29 04:49:43 +00:00
- MAKEJOBS=-j2
2019-05-29 04:43:15 +00:00
- CCACHE_SIZE=100M
- CCACHE_TEMPDIR=/tmp/.ccache-temp
- CCACHE_COMPRESS=1
- CCACHE_DIR=$HOME/.ccache
- BASE_OUTDIR=$TRAVIS_BUILD_DIR/out
- SDK_URL=https://bitcoincore.org/depends-sources/sdks
2019-05-29 04:57:15 +00:00
- DOCKER_PACKAGES="build-essential gcc-6 g++-6 cmake git libcap-dev bsdmainutils curl git ca-certificates ccache"
2019-05-29 04:43:15 +00:00
matrix:
- HOST=x86_64-unknown-linux-gnu PACKAGES="gperf cmake"
script:
- export TRAVIS_COMMIT_LOG=`git log --format=fuller -1`
- OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
- if [ -z "$NO_DEPENDS" ]; then $DOCKER_EXEC ccache --max-size=$CCACHE_SIZE; fi
- $DOCKER_EXEC bash -c "mkdir build && cd build && cmake .. && make $MAKEJOBS"
after_script:
- echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG