You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
597 B
34 lines
597 B
7 months ago
|
language: rust
|
||
|
sudo: false
|
||
|
|
||
|
# run builds for all the trains (and more)
|
||
|
rust:
|
||
|
- stable
|
||
|
- beta
|
||
|
- nightly
|
||
|
|
||
|
branches:
|
||
|
only:
|
||
|
- master
|
||
|
# the main build
|
||
|
script:
|
||
|
- |
|
||
|
cargo build --features "${FEATURES}" &&
|
||
|
cargo test --features "${FEATURES}" &&
|
||
|
cargo doc --features "${FEATURES}"
|
||
|
|
||
|
env:
|
||
|
matrix:
|
||
|
- FEATURES=""
|
||
|
- FEATURES="serde"
|
||
|
|
||
|
matrix:
|
||
|
include:
|
||
|
- rust: 1.12.0
|
||
|
env: FEATURES=""
|
||
|
before_script:
|
||
|
- |
|
||
|
cargo generate-lockfile &&
|
||
|
cargo update -p serde_json --precise 1.0.0 &&
|
||
|
cargo update -p serde --precise 1.0.0
|