Skip to content

Commit

Permalink
Test both SSL and non-SSL with travis
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka committed Nov 23, 2015
1 parent 3374eec commit 82013b6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
language: rust

env:
matrix:
- FEATURES=''
- FEATURES='ssl'

rust:
- nightly
- 1.0.0-beta.4

script:
- cargo build -v --no-default-features --features "$FEATURES"
- cargo test -v -j 1 --no-default-features --features "$FEATURES"

after_success: |
cargo doc && \
echo '<meta http-equiv=refresh content=0;url=tiny_http/index.html>' > target/doc/index.html && \
Expand Down

0 comments on commit 82013b6

Please sign in to comment.