mirror of https://github.com/ctz/rustls
24 lines
827 B
YAML
24 lines
827 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
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip install --upgrade pip ; fi
|
|
script:
|
|
- cargo build
|
|
- RUST_BACKTRACE=1 cargo test
|
|
- RUST_BACKTRACE=1 cargo test --features dangerous_configuration danger
|
|
- cargo test --release --no-run
|
|
- ./target/release/examples/bench
|
|
- ( cd trytls && ./runme )
|
|
- ( cd bogo && ./runme )
|
|
- cargo build --no-default-features
|
|
- cargo test --no-default-features --no-run
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./admin/coverage ; fi
|