From ceb013103a00e05ae6c1cc0637129403502f97e8 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 25 May 2016 08:50:21 +0200 Subject: [PATCH] chore(travis): possibly fix configuration Based on the help provided by the travis support team, this one might actually work. However, while changing the file I realized that I didn't provide all information they would need, so I merged their solution into the existing one. --- .travis.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6b9a31c..b12ff2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,26 +4,30 @@ os: - linux - osx rust: -- stable -- nightly + - stable + - nightly +env: + - FEATURE=with-syntex + - FEATURE=nightly matrix: + exclude: + - rust: stable + env: FEATURE=nightly include: - rust: stable # make doc-upload and coveralls work on stable only env: TRAVIS_RUST_VERSION=stable FEATURE=with-syntex - - rust: nightly - env: FEATURE=nightly allow_failures: - os: osx before_script: -- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/Library/Python/2.7/bin:$HOME/.local/bin:$PATH + - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/Library/Python/2.7/bin:$HOME/.local/bin:$PATH script: -- travis-cargo build -- --features $FEATURE --no-default-features -- travis-cargo test -- --features $FEATURE --no-default-features -- travis-cargo doc -- --features $FEATURE --no-default-features + - travis-cargo build -- --features $FEATURE --no-default-features + - travis-cargo test -- --features $FEATURE --no-default-features + - travis-cargo doc -- --features $FEATURE --no-default-features after_success: -- travis-cargo --only stable doc-upload -- travis-cargo --only stable coveralls + - travis-cargo --only stable doc-upload + - travis-cargo --only stable coveralls env: global: - TRAVIS_CARGO_NIGHTLY_FEATURE=""