We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ee6d53 commit c703245Copy full SHA for c703245
.travis.yml
@@ -0,0 +1,25 @@
1
+language: rust
2
+os:
3
+ - osx
4
+ - windows
5
+ - linux
6
+rust:
7
+ - stable
8
+ - beta
9
+ - nightly
10
+cache: cargo
11
+before_script:
12
+ - if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then rustup component add rustfmt clippy; fi
13
+script:
14
+ - cargo build
15
+ - cargo test --all
16
+ - if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then cargo fmt --all -- --check; fi
17
+ - if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then cargo clippy -- -D warnings; fi
18
+
19
+# See https://levans.fr/rust_travis_cache.html
20
+cache:
21
+ directories:
22
+ - /home/travis/.cargo
23
+before_cache:
24
+ - rm -rf /home/travis/.cargo/registry
25
0 commit comments