forked from rustls/rustls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (40 loc) · 1.31 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: rust
group: edge
matrix:
include:
- os: linux
dist: trusty
sudo: required
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
- os: osx
rust: stable
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl ; fi
- if [[ "$COVERAGE" == "1" ]]; then admin/build-lcov ; fi
- if [[ "$COVERAGE" == "1" ]]; then gem install coveralls-lcov ; fi
- if [[ "$COVERAGE" == "1" ]]; then rustup install stable ; fi
- if [[ "$COVERAGE" == "1" ]]; then sudo apt-get install libclang-common-3.8-dev llvm-3.8-dev ; fi
script:
- cargo build
- RUST_BACKTRACE=1 cargo test
- RUST_BACKTRACE=1 cargo test --all-features
- cargo test --release --no-run
- ./target/release/examples/bench
# - ( cd trytls && ./runme )
- ( cd bogo && ./runme )
- ( cd rustls && cargo build --no-default-features )
- ( cd rustls && cargo test --no-default-features --no-run )
- if [[ "$COVERAGE" == "1" ]]; then ./admin/coverage ; fi
- if [[ "$COVERAGE" == "1" ]]; then coveralls-lcov final.info ; fi