serde/.travis.yml

44 lines
1.8 KiB
YAML
Raw Normal View History

2014-09-07 03:27:03 -05:00
language: rust
2015-05-21 00:44:50 -05:00
rust:
2016-03-06 20:14:12 -06:00
- stable
- beta
- nightly
2016-06-11 10:59:02 -05:00
- 1.7.0
- 1.8.0
2015-08-28 00:51:11 -05:00
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
2016-04-13 10:11:02 -05:00
- binutils-dev
2015-08-28 00:51:11 -05:00
before_script:
2016-04-13 10:11:02 -05:00
- pip install 'travis-cargo<0.2' --user
- export PATH=$HOME/.local/bin:$PATH
2015-08-28 00:51:11 -05:00
script:
2016-04-13 10:11:02 -05:00
- (cd serde && travis-cargo build)
- (cd serde && travis-cargo test)
- (cd serde && travis-cargo --only nightly test -- --features nightly-testing)
- (cd serde && travis-cargo build -- --no-default-features)
- (cd serde && travis-cargo --only nightly 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)
2016-04-13 10:11:02 -05:00
- (cd serde_tests && travis-cargo test)
- (cd serde_tests && travis-cargo --only nightly test -- --features nightly-testing)
- (cd serde_macros && travis-cargo --only nightly test -- --features nightly-testing)
- (cd serde_macros && travis-cargo --only nightly bench -- --features nightly-testing)
- (cd examples/serde-syntex-example && travis-cargo run)
2016-06-09 03:42:00 -05:00
- (cd examples/serde-syntex-example && travis-cargo --only nightly run -- --features nightly --no-default-features)
2016-04-13 10:11:02 -05:00
- (cd serde && travis-cargo --only stable doc)
- (cd serde_codegen && travis-cargo --only stable doc)
- (cd serde_macros && travis-cargo --only nightly doc)
2015-08-28 00:51:11 -05:00
after_success:
2016-04-13 10:11:02 -05:00
- (cd serde && travis-cargo --only stable doc-upload)
#- (cd serde_codegen && travis-cargo --only stable doc-upload)
#- (cd serde_macros && travis-cargo --only nightly doc-upload)
- (cd serde_tests && travis-cargo coveralls --no-sudo)
2015-05-21 00:44:50 -05:00
env:
global:
2016-03-06 20:14:12 -06:00
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
- secure: Jcd11Jy0xLyacBUB+oKOaxKBm9iZNInenRDtNBY8GKOtqF5fHUfEjgDf538hwRl5L0FP7DLr8oK0IHmzA7lPjJxlzoKVKV3IM7bRZEYzW5DMonf/lcliuGte7SH0NVFhifM87T8HI2hjGdAb+7+m34siBR7M3AY/XjLInrvUFvY=