rustls/.travis.yml

41 lines
1.3 KiB
YAML
Raw Normal View History

2016-05-30 19:14:38 +00:00
language: rust
2017-09-10 17:50:21 +00:00
group: edge
2016-09-03 15:27:22 +00:00
matrix:
include:
- os: linux
dist: trusty
sudo: required
2017-07-22 19:24:24 +00:00
rust: stable
- os: linux
dist: trusty
sudo: required
rust: nightly
env: COVERAGE=1
- os: linux
dist: trusty
sudo: required
rust: nightly
script:
- cargo -Z minimal-versions test --all-features
2016-09-03 15:27:22 +00:00
- os: osx
2017-07-22 19:19:10 +00:00
rust: stable
2016-09-03 15:56:19 +00:00
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl ; fi
2017-07-22 19:24:24 +00:00
- if [[ "$COVERAGE" == "1" ]]; then admin/build-lcov ; fi
- if [[ "$COVERAGE" == "1" ]]; then gem install coveralls-lcov ; fi
2017-12-28 13:46:07 +00:00
- if [[ "$COVERAGE" == "1" ]]; then rustup install stable ; fi
2017-07-22 19:24:24 +00:00
- if [[ "$COVERAGE" == "1" ]]; then sudo apt-get install libclang-common-3.8-dev llvm-3.8-dev ; fi
2016-08-23 21:15:21 +00:00
script:
2016-08-28 21:28:02 +00:00
- cargo build
2016-09-03 17:03:29 +00:00
- RUST_BACKTRACE=1 cargo test
2019-01-12 02:25:37 +00:00
- RUST_BACKTRACE=1 cargo test --all-features
2016-08-28 21:39:21 +00:00
- cargo test --release --no-run
2016-08-28 21:28:02 +00:00
- ./target/release/examples/bench
# - ( cd trytls && ./runme )
- ( cd bogo && ./runme )
2016-09-25 12:47:33 +00:00
- cargo build --no-default-features
- cargo test --no-default-features --no-run
2017-07-22 19:24:24 +00:00
- if [[ "$COVERAGE" == "1" ]]; then ./admin/coverage ; fi
- if [[ "$COVERAGE" == "1" ]]; then coveralls-lcov final.info ; fi