ad74f6b524
* Introduced: crossterm workspace, feature flags.
22 lines
292 B
YAML
22 lines
292 B
YAML
# Set up the Rust toolchain.
|
|
language: rust
|
|
rust:
|
|
- stable
|
|
- nightly
|
|
|
|
before_script:
|
|
- export PATH=$PATH:/home/travis/.cargo/bin
|
|
- rustup component add rustfmt-preview
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
- windows
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
script:
|
|
- cargo build
|
|
- cargo fmt -- --check |