Skip to content

Commit

Permalink
Run the builds in Travis CI with every combinations of features
Browse files Browse the repository at this point in the history
  • Loading branch information
Kroisse committed Apr 15, 2015
1 parent 38a9ad1 commit 3d09bb2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
language: rust
sudo: false
env:
- FEATURE=""
- FEATURE="v5"
script:
- cargo build --verbose --features="v5"
- cargo test --verbose --features="v5"
- cargo doc --features="v5"
- cargo build --verbose --features="$FEATURE"
- cargo test --verbose --features="$FEATURE"
- cargo doc --features="$FEATURE"
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
Expand Down

0 comments on commit 3d09bb2

Please sign in to comment.