grin/.travis.yml

43 lines
780 B
YAML
Raw Normal View History

2016-12-16 02:44:52 +03:00
language: rust
cache:
cargo: true
timeout:
240 # =4 min (default 120). ~6 GB cache up/down from S3 needs time.
before_cache:
- rm -rf target/tmp
dist: trusty
sudo: required
2016-12-16 02:44:52 +03:00
rust:
2016-12-16 03:11:47 +03:00
- stable
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- cmake
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
- gcc
- binutils-dev
2016-12-16 02:44:52 +03:00
env:
global:
2016-12-16 02:52:47 +03:00
- RUST_BACKTRACE="1"
2018-03-23 02:11:06 +03:00
- RUST_FLAGS="-C debug-assertions"
2016-12-16 02:52:47 +03:00
matrix:
- RUST_TEST_THREADS=1 TEST_DIR=servers
- TEST_DIR=store
2016-12-16 02:52:47 +03:00
- TEST_DIR=chain
- TEST_DIR=pool
- TEST_DIR=wallet
2017-07-19 00:22:30 +03:00
- TEST_DIR=p2p
- TEST_DIR=api
- TEST_DIR=keychain
- TEST_DIR=core
- TEST_DIR=util
2016-12-16 02:44:52 +03:00
2018-03-23 02:11:06 +03:00
script: cd $TEST_DIR && cargo test --release