diff options
author | Sascha Grunert <mail@saschagrunert.de> | 2016-11-16 18:55:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-16 18:55:25 +0100 |
commit | 8cf2d9696e7ab2aa0e92fa56c3356b83ce479069 (patch) | |
tree | 54bb247024e19504cc3dfa3f58c8ea0a4171e139 | |
parent | 99bc4774700792e15e099431ff2bfa6adc3e7767 (diff) |
Update .travis.yml
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index cb950c9..a3cf3b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,9 @@ rust: - stable - beta - nightly +matrix: + allow_failures: + - rust: nightly before_install: - export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include - export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib @@ -11,14 +14,14 @@ before_script: - export PATH=$HOME/.local/bin:$PATH - export PATH=$HOME/Library/Python/2.7/bin:$PATH script: - - export CARGO_TARGET_DIR=`pwd`/target +O- export CARGO_TARGET_DIR=`pwd`/target - travis-cargo build - travis-cargo test - cargo doc --no-deps after_success: - - if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis-cargo --only nightly doc-upload; fi - - if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis-cargo coveralls --no-sudo --verify; fi - - if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./kcov/build/src/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo,/usr target/kcov target/debug/gitjournal*; fi + - if [[ "$TRAVIS_RUST_VERSION" == "stable" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis-cargo doc-upload; fi + - if [[ "$TRAVIS_RUST_VERSION" == "stable" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis-cargo coveralls --no-sudo --verify; fi + - if [[ "$TRAVIS_RUST_VERSION" == "stable" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./kcov/build/src/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo,/usr target/kcov target/debug/gitjournal*; fi notifications: email: on_success: never |