File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
1
+ required_version = " 0.3.8"
2
+
1
3
# Activation of features, almost objectively better ;)
2
4
reorder_imports = true
3
5
reorder_imported_names = true
@@ -9,3 +11,4 @@ wrap_comments = true
9
11
10
12
# Heavily subjective style choices
11
13
comment_width = 100
14
+ blank_lines_upper_bound = 2
You can’t perform that action at this time.
0 commit comments