2016-02-21 18:20:03 -05:00
|
|
|
language: rust
|
|
|
|
sudo: false
|
|
|
|
|
2016-06-14 10:55:00 -04:00
|
|
|
cache: cargo
|
|
|
|
|
2016-06-14 10:53:45 -04:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2016-02-21 18:20:03 -05:00
|
|
|
rust:
|
2017-02-02 23:50:48 -05:00
|
|
|
- stable
|
2017-06-14 12:56:45 -04:00
|
|
|
- nightly
|
|
|
|
|
2018-01-05 20:42:55 -05:00
|
|
|
env:
|
2018-06-17 05:19:30 -04:00
|
|
|
- CLIPPY="true"
|
|
|
|
- CLIPPY=""
|
|
|
|
|
|
|
|
install:
|
2018-07-21 20:44:14 -04:00
|
|
|
- if [ -n "$CLIPPY" ]; then rustup component add clippy-preview; fi
|
2018-01-05 20:42:55 -05:00
|
|
|
|
2017-06-14 12:56:45 -04:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2018-01-05 20:42:55 -05:00
|
|
|
exclude:
|
|
|
|
- rust: stable
|
2018-06-17 05:19:30 -04:00
|
|
|
env: CLIPPY="true"
|
2018-01-05 20:42:55 -05:00
|
|
|
- rust: nightly
|
2018-06-17 05:19:30 -04:00
|
|
|
env: CLIPPY=""
|
2017-06-14 12:56:45 -04:00
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
2016-02-21 18:20:03 -05:00
|
|
|
|
|
|
|
script:
|
2018-07-01 16:20:29 -04:00
|
|
|
- if [ -n "$CLIPPY" ]; then cargo clippy --all-features --all-targets; fi
|
2018-06-17 05:19:30 -04:00
|
|
|
- if [ -z "$CLIPPY" ]; then cargo test; fi
|
2018-07-25 15:46:45 -04:00
|
|
|
- if [ -z "$CLIPPY" ]; then cargo test -p font; fi
|