Indent the travis config to look like serde_json's

This commit is contained in:
David Tolnay 2017-01-27 14:17:07 -08:00
parent 7edcf6ec3b
commit 571a2e4e2d
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -1,23 +1,28 @@
sudo: false sudo: false
language: rust language: rust
# run builds for all the trains (and more)
rust: rust:
- 1.13.0 - 1.13.0
- stable - stable
- beta - beta
- nightly - nightly
before_script: before_script:
- pip install 'travis-cargo<0.2' --user - pip install 'travis-cargo<0.2' --user
- export PATH=$HOME/.local/bin:$PATH - export PATH=$HOME/.local/bin:$PATH
script: script:
- (cd serde && travis-cargo build) - (cd serde && travis-cargo build)
- (cd serde && travis-cargo --only beta test) - (cd serde && travis-cargo --only beta test)
- (cd serde && travis-cargo --only nightly test -- --features unstable-testing) - (cd serde && travis-cargo --only nightly test -- --features unstable-testing)
- (cd serde && travis-cargo build -- --no-default-features) - (cd serde && travis-cargo build -- --no-default-features)
- (cd serde && travis-cargo --only nightly build -- --no-default-features --features alloc) - (cd serde && travis-cargo --only nightly build -- --no-default-features --features alloc)
- (cd serde && travis-cargo --only nightly build -- --no-default-features --features collections) - (cd serde && travis-cargo --only nightly build -- --no-default-features --features collections)
- (cd test_suite && travis-cargo --only beta test) - (cd test_suite && travis-cargo --only beta test)
- (cd test_suite && travis-cargo --only nightly test -- --features unstable-testing) - (cd test_suite && travis-cargo --only nightly test -- --features unstable-testing)
- (cd test_suite/no_std && travis-cargo --only nightly build) - (cd test_suite/no_std && travis-cargo --only nightly build)
env: env:
global: global:
- TRAVIS_CARGO_NIGHTLY_FEATURE="" - TRAVIS_CARGO_NIGHTLY_FEATURE=""