serde/.travis.yml

38 lines
1.5 KiB
YAML
Raw Normal View History

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