2014-08-26 16:30:00 +00:00
|
|
|
language: rust
|
2016-08-16 18:05:09 +00:00
|
|
|
sudo: false
|
|
|
|
rust:
|
2017-02-05 20:03:01 +00:00
|
|
|
# 1.13.0 is the earliest version that Serde 0.9 tests, so we follow suit
|
2017-02-03 07:30:17 +00:00
|
|
|
- 1.13.0
|
2016-08-16 18:05:09 +00:00
|
|
|
- stable
|
|
|
|
- beta
|
|
|
|
- nightly
|
2014-08-26 16:30:00 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2016-08-16 18:05:09 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
2014-04-01 17:14:57 +00:00
|
|
|
env:
|
|
|
|
global:
|
2014-08-26 16:30:00 +00:00
|
|
|
- LD_LIBRARY_PATH: /usr/local/lib
|
2014-04-01 16:30:52 +00:00
|
|
|
script:
|
2016-08-16 18:05:09 +00:00
|
|
|
# interleave building and testing in hope that it saves time
|
2016-08-16 18:18:12 +00:00
|
|
|
# also avoid doc-testing multiple times---it takes a lot and rarely helps
|
2014-08-26 16:30:00 +00:00
|
|
|
- cargo build -v
|
|
|
|
- cargo test -v
|
2016-08-16 18:05:09 +00:00
|
|
|
- cargo build -v --features rustc-serialize
|
2016-08-16 18:18:12 +00:00
|
|
|
- cargo test -v --features rustc-serialize --lib
|
2017-02-05 20:03:01 +00:00
|
|
|
- cargo build -v --features 'serde bincode'
|
|
|
|
- cargo test -v --features 'serde bincode' --lib
|
2016-08-16 18:05:09 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.mozilla.org#chronotope"
|
|
|
|
template:
|
|
|
|
- "%{repository_slug}/%{branch} (%{commit} - %{author}): %{message}"
|
|
|
|
skip_join: true
|