This repository was archived by the owner on Dec 10, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +19
-47
lines changed Expand file tree Collapse file tree 3 files changed +19
-47
lines changed Original file line number Diff line number Diff line change 1
1
language : rust
2
+ os :
3
+ - linux
4
+ - osx
2
5
rust :
3
6
- 1.31.0
4
7
- stable
5
8
- beta
6
9
- nightly
7
- cache :
8
- - apt
9
- - cargo
10
-
11
- os :
12
- - linux
13
- - osx
14
-
15
- matrix :
16
- allow_failures :
17
- - rust : beta
18
- - rust : nightly
19
-
20
- sudo : required
21
10
11
+ sudo : false
22
12
env :
23
13
global :
24
14
- RUST_BACKTRACE=1
@@ -31,27 +21,23 @@ before_install:
31
21
- |
32
22
if [[ "$TRAVIS_OS_NAME" == "linux" ]]
33
23
then
34
- ./scripts/verify-commit-messages.sh "$TRAVIS_COMMIT_RANGE" \
35
- && ./scripts/bootstrap-ubuntu-14-04.sh
36
- fi
37
- - |
38
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]
39
- then
40
- ./scripts/bootstrap-osx.sh
41
- fi
42
-
43
- install :
44
- - |
45
- if [[ "$TRAVIS_RUST_VERSION" == nightly ]]
46
- then
47
- rustup component add clippy-preview
24
+ ./scripts/verify-commit-messages.sh "$TRAVIS_COMMIT_RANGE" || exit 1;
48
25
fi
49
26
50
27
script :
51
28
- cargo build --verbose
52
29
- cargo test --verbose
53
- - |
54
- if [[ "$TRAVIS_RUST_VERSION" == nightly ]]
55
- then
56
- cargo clippy --verbose --all --tests
57
- fi
30
+
31
+ matrix :
32
+ allow_failures :
33
+ - rust : beta
34
+ - rust : nightly
35
+ include :
36
+ - os : linux
37
+ rust : stable
38
+ env :
39
+ NAME : clippy
40
+ install :
41
+ - rustup component add clippy
42
+ script :
43
+ - cargo clippy --verbose --all --tests
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments