nimbus-eth1/.travis.yml
Ștefan Talpalaru 33494634aa
CI: LFS support for the beacon-chain tests
- Travis: switch language
- AppVeyor: disable `mingw32-make go-checks` for now
- `make update`: export GIT_LFS_SKIP_SMUDGE=1
- CI: disable the LFS script inside Makefile,
  since we run it separately (and git-lfs is not installed in the Travis
  macOS image if we found a valid cache).
2019-08-15 01:35:07 +02:00

44 lines
1.0 KiB
YAML

language: go
# https://docs.travis-ci.com/user/caching/
cache:
directories:
- rocksdbCache
- vendor/Nim/bin
- jsonTestsCache
git:
# 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
go:
- "1.12.x"
matrix:
include:
- os: linux
sudo: required
before_install:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
- os: osx
before_install:
- launchctl setenv LIBRARY_PATH /usr/local/lib # for RocksDB
install:
# build our own rocksdb to test with a fixed version that we think works
- ./build_rocksdb.sh rocksdbCache
# LFS test fixtures
- cd vendor/nim-beacon-chain; scripts/process_lfs.sh ../../jsonTestsCache; cd ../..
script:
- set -e # fail fast
- make -j2
- ./build/nimbus --help
- make -j2 test test-reproducibility
- make -C vendor/nim-beacon-chain DISABLE_LFS_SCRIPT=1 -j2 test
- make go-checks