mirror of https://github.com/ctz/rustls
22 lines
674 B
YAML
22 lines
674 B
YAML
language: rust
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
dist: trusty
|
|
sudo: required
|
|
- os: osx
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./admin/build-kcov ; fi
|
|
script:
|
|
- cargo build
|
|
- RUST_BACKTRACE=1 cargo test
|
|
- cargo test --release --no-run
|
|
- ./target/release/examples/bench
|
|
- ( cd bogo && ./runme )
|
|
- ( cd trytls && ./runme )
|
|
- cargo build --no-default-features
|
|
- cargo test --no-default-features --no-run
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./admin/coverage ; fi
|