forked from rustls/rustls
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
33 lines (32 loc) · 904 Bytes
/
.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
# nb. this is a secondary CI platform only: azure pipelines is preferred.
language: rust
group: edge
matrix:
include:
- os: linux
dist: trusty
sudo: required
rust: stable
- os: linux
dist: trusty
sudo: required
rust: nightly
- 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
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 rustls && cargo build --no-default-features )
- ( cd rustls && cargo test --no-default-features --no-run )