summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Broto <ebroto@tutanota.com>2020-01-10 22:18:49 +0100
committerEduardo Broto <ebroto@tutanota.com>2020-01-10 22:18:49 +0100
commitc96512ae10cf4dc52876b56ce76ea97e30c6baaa (patch)
tree1ad4939d6232e188111dc2d1c31f63ae003bcef5
parentc14bdf76736f0587b19118a4dabc26401838b6cf (diff)
chore(ci): run nightly build in macOS too
-rw-r--r--.travis.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 8f161fa..f2a17fa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,10 +15,15 @@ script:
- cargo clippy --all-targets --all-features -- -D warnings
matrix:
include:
- - rust: nightly
+ - os: linux
+ rust: nightly
+ before_script:
+ - rustup component add rustfmt
+ - rustup component add clippy --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
+ - os: osx
+ rust: nightly
before_script:
- rustup component add rustfmt
- # Fallback to git in case clippy is not available in the current nightly
- rustup component add clippy --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
allow_failures:
- rust: nightly