28 lines
1.0 KiB
YAML
28 lines
1.0 KiB
YAML
sudo: false
|
|
language: rust
|
|
rust:
|
|
- 1.12.0
|
|
- 1.13.0
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
before_script:
|
|
- pip install 'travis-cargo<0.2' --user
|
|
- export PATH=$HOME/.local/bin:$PATH
|
|
script:
|
|
- (cd serde && travis-cargo build)
|
|
- (cd serde && travis-cargo --skip nightly 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 testing && travis-cargo --skip nightly test)
|
|
- (cd testing && travis-cargo --only nightly test -- --features unstable-testing)
|
|
- (cd serde_derive && travis-cargo --only nightly test)
|
|
#- (cd examples/serde-syntex-example && travis-cargo --skip nightly run)
|
|
#- (cd examples/serde-syntex-example && travis-cargo --only nightly run -- --no-default-features --features unstable)
|
|
- (cd serde && travis-cargo --only stable doc)
|
|
env:
|
|
global:
|
|
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
|