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:
parent
da79a4a9c5
commit
3282916b8c
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue