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 290fc79 commit 6ac6a39Copy full SHA for 6ac6a39
.travis.yml
@@ -0,0 +1,27 @@
1
+language: rust
2
+cache: cargo
3
+rust:
4
+ - nightly
5
+ - stable
6
+ - beta
7
+os:
8
+ - osx
9
+
10
11
+before_script:
12
+ - rustup component add rustfmt-preview
13
+ - rustfmt --version
14
15
+script:
16
+ - cargo build --verbose
17
+ - cargo test --verbose
18
+ - if [ "${TRAVIS_RUST_VERSION}" = "nightly" ]; then
19
+ cargo fmt -- --write-mode=diff;
20
+ else
21
+ echo "Not checking formatting on this build";
22
+ fi
23
24
+notifications:
25
+ email:
26
+ on_success: never
27
+ on_failure: never
0 commit comments