Merge pull request #4 from yusufsahinhamza/improve-travis-ci

Improve Travis CI
This commit is contained in:
Duke Leto
2020-05-01 09:55:44 -04:00
committed by GitHub

View File

@@ -1,8 +1,18 @@
language: rust
rust:
- 1.32.0
env:
global:
# See https://stackoverflow.com/a/43339593
- RUST_BACKTRACE=1
before_cache:
- rm -rf "$TRAVIS_HOME/.cargo/registry/src"
cache: cargo
script:
- cargo build --verbose --release --all
- cargo test --verbose --release --all