2016-06-11 16:18:30 -07:00
|
|
|
sudo: false
|
2014-09-07 01:27:03 -07:00
|
|
|
language: rust
|
2017-01-27 14:17:07 -08:00
|
|
|
|
|
|
|
# run builds for all the trains (and more)
|
2015-05-20 22:44:50 -07:00
|
|
|
rust:
|
2017-01-27 14:17:07 -08:00
|
|
|
- 1.13.0
|
|
|
|
- stable
|
|
|
|
- beta
|
|
|
|
- nightly
|
|
|
|
|
2015-08-27 22:51:11 -07:00
|
|
|
before_script:
|
2017-01-27 14:17:07 -08:00
|
|
|
- pip install 'travis-cargo<0.2' --user
|
|
|
|
- export PATH=$HOME/.local/bin:$PATH
|
|
|
|
|
2015-08-27 22:51:11 -07:00
|
|
|
script:
|
2017-01-27 14:17:07 -08:00
|
|
|
- (cd serde && travis-cargo build)
|
|
|
|
- (cd serde && travis-cargo --only beta test)
|
|
|
|
- (cd serde && travis-cargo --only nightly test -- --features unstable-testing)
|
|
|
|
- (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 collections)
|
|
|
|
- (cd test_suite && travis-cargo --only beta test)
|
2017-01-27 14:53:21 -08:00
|
|
|
- (cd test_suite/deps && travis-cargo --only nightly build && cd .. && travis-cargo --only nightly test -- --features unstable-testing)
|
2017-01-27 14:17:07 -08:00
|
|
|
- (cd test_suite/no_std && travis-cargo --only nightly build)
|
|
|
|
|
2015-05-20 22:44:50 -07:00
|
|
|
env:
|
|
|
|
global:
|
2017-01-27 14:17:07 -08:00
|
|
|
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
|