minicrossterm/.travis.yml

22 lines
292 B
YAML
Raw Normal View History

2018-11-23 02:05:08 +11:00
# Set up the Rust toolchain.
language: rust
rust:
- stable
- nightly
2018-11-23 02:05:08 +11:00
before_script:
- export PATH=$PATH:/home/travis/.cargo/bin
- rustup component add rustfmt-preview
2018-11-23 02:05:08 +11:00
os:
- linux
- osx
- windows
2018-11-23 02:05:08 +11:00
branches:
only:
- master
2018-11-23 02:05:08 +11:00
script:
- cargo build
- cargo fmt -- --check