Problem: Travis CI job takes too long (50 mins)

Solution: try to optimize test/build time by doing `release` only
instead of doing both `debug` and `release` targets
This commit is contained in:
Yurii Rashkovskii 2018-06-15 18:01:41 -07:00
parent da79a4a9c5
commit 3282916b8c
No known key found for this signature in database
GPG Key ID: 1D60D7CFD80845FF
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ matrix:
- sudo snap install parity --stable
- export PATH=/snap/bin:${PATH}
script:
- cd bridge && env BACKTRACE=1 && cargo test && cd ..
- cd integration-tests && env BACKTRACE=1 cargo test -- --test-threads=1 --nocapture && cd ..
- cd bridge && env BACKTRACE=1 && cargo test --release && cd ..
- cd integration-tests && env BACKTRACE=1 cargo test --release -- --test-threads=1 --nocapture && cd ..
- make
- cp target/release/bridge bridge-linux-x86_64
before_deploy: git tag `git describe --always --tags`