nimbus-eth1/.travis.yml

42 lines
1.1 KiB
YAML
Raw Normal View History

2018-08-21 16:30:35 +00:00
language: c # or other C/C++ variants
cache: ccache
2018-04-11 13:27:56 +00:00
matrix:
# allow_failures:
# - os: osx
2018-04-11 13:27:56 +00:00
include:
- os: linux
2018-08-21 16:30:35 +00:00
cache: ccache
2018-04-11 13:27:56 +00:00
sudo: required
before_install:
2018-08-21 16:46:10 +00:00
- sudo apt-get install -y libssl-dev libgflags-dev libsnappy-dev
- git clone https://github.com/facebook/rocksdb.git
# rocksdb not present on trusty - on a newer ubuntu you can apt-get install -y librocksdb-dev
- cd rocksdb && git checkout v5.14.2 && make shared_lib -j$(nproc) && sudo make INSTALL_PATH=/usr install-shared && cd ..
2018-08-21 16:30:35 +00:00
- git clone https://github.com/status-im/nim.git
- cd nim
- sh build_all.sh
- cd ..
- export PATH=$PWD/nim/bin:$PATH
2018-04-11 13:27:56 +00:00
script:
2018-08-21 16:30:35 +00:00
- nimble install -dy && nimble test
2018-04-11 13:27:56 +00:00
- os: osx
before_install:
- brew update
2018-08-21 16:30:35 +00:00
- brew install rocksdb ccache
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
2018-04-11 14:56:24 +00:00
# - brew install gcc
2018-08-21 16:30:35 +00:00
- git clone https://github.com/status-im/nim.git
2018-04-11 13:27:56 +00:00
- cd nim
2018-08-21 16:30:35 +00:00
- sh build_all.sh
2018-04-11 13:27:56 +00:00
- cd ..
2018-08-21 16:30:35 +00:00
- export PATH=$PWD/nim/bin:$PATH
2018-04-11 13:27:56 +00:00
script:
- nimble install -dy && nimble test