]> git.lizzy.rs Git - PAKEs.git/blob - .travis.yml
update to rand-0.4, since dalek-0.14.4 uses it
[PAKEs.git] / .travis.yml
1 language: rust
2
3 rust:
4   - stable
5   - beta
6   - nightly
7
8 os:
9   - linux
10   - osx
11
12 matrix:
13   allow_failures:
14     - rust: nightly
15
16 script:
17   - cargo clean
18   - cargo build --verbose --all
19 #  - cargo run --verbose --example XYZ
20 #  - cargo test --verbose --features "test" --all
21   - cargo test --verbose --all
22
23 after_success: |
24   if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then
25     bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh)
26     # Uncomment the following two lines create and upload a report for codecov.io
27     cargo tarpaulin --out Xml
28     bash <(curl -s https://codecov.io/bash)
29   fi