Skip to content

Commit

Permalink
reactivate build for old versions of Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Mar 19, 2017
1 parent 872d7e5 commit db94701
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ rust:
- nightly
- beta
- stable
- 1.2.0

env:
- FEATURES="--features \"regexp regexp_macros\""
Expand All @@ -19,7 +20,9 @@ env:

before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
- cargo install cargo-travis && export PATH=$HOME/.cargo/bin:$PATH
- if [ "$TRAVIS_RUST_VERSION" != "1.2.0" ]; then
cargo install cargo-travis && export PATH=$HOME/.cargo/bin:$PATH;
fi

script:
- travis-cargo --only 1.2 test -- --features regexp
Expand All @@ -32,7 +35,9 @@ script:

after_success:
- travis-cargo bench
- cargo coveralls --verbose
- if [ "$TRAVIS_RUST_VERSION" != "1.2.0" ]; then
cargo coveralls --verbose;
fi
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
cargo bench;
fi
Expand Down

0 comments on commit db94701

Please sign in to comment.