25 lines
290 B
YAML
25 lines
290 B
YAML
|
# Set up the Rust toolchain.
|
||
|
language: rust
|
||
|
rust:
|
||
|
- stable
|
||
|
- beta
|
||
|
- nightly
|
||
|
|
||
|
before_script:
|
||
|
- export PATH=$PATH:/home/travis/.cargo/bin
|
||
|
- export RUSTFLAGS="-D warnings"
|
||
|
|
||
|
os:
|
||
|
- linux
|
||
|
- osx
|
||
|
- windows
|
||
|
|
||
|
branches:
|
||
|
only:
|
||
|
- staging
|
||
|
- trying
|
||
|
- master
|
||
|
- /release-.*/
|
||
|
|
||
|
script:
|
||
|
- cargo build
|