Skip to content

Commit

Permalink
chore(travis): add build config for 'stable' tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed May 16, 2015
1 parent 823b552 commit e9dcf45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ matrix:
env: FEATURES="--features nightly" BENCH=true
sudo: false
- rust: beta
sudo: false
- rust: stable
sudo: true

cache:
Expand All @@ -18,15 +20,15 @@ cache:
script: ./.travis.sh

after_success: |
[ $TRAVIS_RUST_VERSION = beta ] &&
[ $TRAVIS_RUST_VERSION = stable ] &&
sudo apt-get install libcurl4-openssl-dev libelf-dev libdw-dev &&
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make &&
sudo make install && cd ../.. &&
kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/hyper-*
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_RUST_VERSION = beta ] &&
[ $TRAVIS_RUST_VERSION = stable ] &&
cargo doc &&
echo '<meta http-equiv=refresh content=0;url=hyper/index.html>' > target/doc/index.html &&
pip install --user ghp-import &&
Expand Down

0 comments on commit e9dcf45

Please sign in to comment.