mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-02-23 15:50:00 +01:00
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.
This commit is contained in:
24
.travis.yml
24
.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=""
|
||||
|
||||
Reference in New Issue
Block a user