diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2580b39 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: rust +dist: trusty +addons: + apt: + packages: + - libssl-dev +cache: cargo +rust: + - stable + - beta + - nightly +matrix: + allow_failures: + - rust: nightly +script: +- cargo clean +- cargo build +- cargo test + +after_success: | + if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then + cargo install cargo-tarpaulin + cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID + fi