-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update .travis.yml to work against nightly-2019-02-08
- Loading branch information
Showing
1 changed file
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
language: rust | ||
rust: | ||
- stable | ||
- nightly | ||
- nightly-2019-02-08 | ||
cache: cargo | ||
before_install: | ||
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa | ||
- sudo apt-get update -qq | ||
- sudo apt-get install qt5-default qttools5-dev-tools | ||
before_script: | ||
- rustup component add clippy | ||
- | | ||
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then | ||
rustup toolchain add nightly-2019-02-08 | ||
rustup component add --toolchain nightly-2019-02-08 clippy | ||
else | ||
rustup component add clippy | ||
fi | ||
script: | ||
- cargo clippy --all-targets --all-features -- -D warnings | ||
- cargo test --release |