Added travis config

pull/10/head
Dennis Schwerdel 2017-07-30 20:59:23 +02:00
parent 7303da43b3
commit fd4798b35c
1 changed files with 24 additions and 0 deletions

24
.travis.yml Normal file
View File

@ -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