Travis speedups (#483)

* move fast tests towards the end, slow tests to the front. avoids having a long running test straggling behind when other tests have finished

* testing if we can manage also with "sudo: false"

* reorder tasks a bit more
This commit is contained in:
Simon B 2017-12-14 13:17:55 +01:00 committed by AntiochP
parent 360e311041
commit 590cb8b8dd

View file

@ -1,7 +1,7 @@
language: rust
cache: cargo
dist: trusty
sudo: true
sudo: false
rust:
- stable
@ -17,16 +17,16 @@ env:
global:
- RUST_BACKTRACE="1"
matrix:
- TEST_DIR=core
- RUST_TEST_THREADS=1 TEST_DIR=grin
- TEST_DIR=store
- TEST_DIR=chain
- TEST_DIR=pool
- TEST_DIR=wallet
- TEST_DIR=p2p
- TEST_DIR=api
- TEST_DIR=pool
- TEST_DIR=pow
- TEST_DIR=wallet
- TEST_DIR=util
- TEST_DIR=keychain
- RUST_TEST_THREADS=1 TEST_DIR=grin
- TEST_DIR=core
- TEST_DIR=util
script: cd $TEST_DIR && cargo test --verbose