1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00
alacritty/.travis.yml

42 lines
700 B
YAML
Raw Normal View History

language: rust
sudo: false
git:
depth: 1
cache: cargo
2016-06-14 10:53:45 -04:00
os:
- linux
- osx
- windows
2016-06-14 10:53:45 -04:00
rust:
- stable
- nightly
env:
- CLIPPY="true"
- CLIPPY=""
install:
2018-07-21 20:44:14 -04:00
- if [ -n "$CLIPPY" ]; then rustup component add clippy-preview; fi
matrix:
fast_finish: true
exclude:
- rust: stable
env: CLIPPY="true"
- rust: nightly
env: CLIPPY=""
allow_failures:
- rust: nightly
- os: windows
script:
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then choco install llvm --norestart --nosilent; fi
- if [ -n "$CLIPPY" ]; then cargo clippy --all-features --all-targets; fi
- if [ -z "$CLIPPY" ]; then cargo test; fi
- if [ -z "$CLIPPY" ]; then cargo test -p font; fi