diff options
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6106df1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,28 @@ +language: rust +sudo: required +dist: trusty +addons: + apt: + packages: + - libssl-dev +cache: cargo +rust: + - nightly + +before_cache: | + # RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin -f + +install: +- cargo build --release --all --all-features + +script: +- cargo test --release --all --all-features + +after_success: | + # Uncomment the following line for coveralls.io + # cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID + + # Uncomment the following two lines create and upload a report for codecov.io + # cargo tarpaulin --out Xml + # bash <(curl -s https://codecov.io/bash) + |