diff options
author | Nadrieril | 2019-03-19 00:04:39 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-19 00:04:39 +0100 |
commit | ad3bc07cc46af26c13823faf536495ff423d7bc9 (patch) | |
tree | 68c1cd51844a82f92dcc3ea3fd3d18f8a9f4622e /.travis.yml | |
parent | 5f0331e9a339768dfa40018d1f82c4815dbd11af (diff) |
Add travis integration
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) + |