Skip to content

Commit

Permalink
Merge pull request sfackler#62 from vhbit/feature-matrix
Browse files Browse the repository at this point in the history
Feature matrix & conditioned doc generation
  • Loading branch information
sfackler committed Oct 10, 2014
2 parents 93b725e + 87374ff commit c407530
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@ language: rust
env:
global:
- secure: qLvBJoJOJcPPZ+e31175O6sMUGBHgHe/kBuI0FCPeifYmpFyeRAkEvGddEkf8t3rojV+wE14CNYzzGsT/W/+JY7xW0C1FQKW3r+8SZ1Cave/8ahee0aCQVXGf0XY8c52uG6MrLGiUlNZbOsyFSdFUc/Io+kYZas4DxrinRSOIEA=
matrix:
- FEATURES=""
- FEATURES="tlsv1_1 tlsv1_2"
os:
- osx
- linux
before_script:
- openssl s_server -accept 15418 -www -cert test/cert.pem -key test/key.pem >/dev/null 2>&1 &
script:
- cargo build
- cargo test
- rustdoc src/lib.rs
- cargo build --features "sslv2"
- cargo build --features "tlsv1_1 tlsv1_2"
after_script:
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
- cargo build --features "$FEATURES"
- cargo test --features "$FEATURES"
- cargo doc --features "sslv2 tlsv1_1 tlsv1_2"
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cd target/doc &&
(curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh)
Empty file removed Makefile
Empty file.

0 comments on commit c407530

Please sign in to comment.