nimbus-eth1/.travis.yml

35 lines
846 B
YAML
Raw Normal View History

language: c
2018-08-21 10:30:35 -06:00
2018-08-31 13:42:06 -06:00
# https://docs.travis-ci.com/user/caching/
2018-08-21 14:12:23 -06:00
cache:
directories:
2019-06-16 20:18:46 +02:00
- rocksdbCache
- vendor/Nim/bin
2018-08-21 10:30:35 -06:00
2019-02-15 23:37:10 +01:00
git:
2019-02-16 00:56:13 +01:00
# when multiple CI builds are queued, the tested commit needs to be in the last X commits cloned with "--depth X"
depth: 10
# disable LFS file downloading during regular cloning
lfs_skip_smudge: true
2019-02-15 23:37:10 +01:00
2018-09-04 21:01:33 -06:00
matrix:
include:
- os: linux
sudo: required
before_install:
2019-06-16 20:18:46 +02:00
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
2018-09-04 21:01:33 -06:00
- os: osx
before_install:
2019-06-16 20:18:46 +02:00
- launchctl setenv LIBRARY_PATH /usr/local/lib # for RocksDB
2018-09-04 21:01:33 -06:00
2018-08-21 13:13:35 -06:00
install:
2018-08-30 13:56:09 -06:00
# build our own rocksdb to test with a fixed version that we think works
- vendor/nimbus-build-system/scripts/build_rocksdb.sh rocksdbCache
2018-08-21 13:13:35 -06:00
script:
2019-02-15 23:37:10 +01:00
- set -e # fail fast
2019-06-16 20:18:46 +02:00
- make -j2
- build/nimbus --help
2019-06-16 20:18:46 +02:00
- make -j2 test test-reproducibility
2019-02-15 23:37:10 +01:00