Skip to content

Commit af92c69

Browse files
kigawasAlex Manuskin
authored andcommitted
Update CI (#82)
Update travis-ci to test stable and beta builds, while running tests of nightly only.
1 parent 957c6e6 commit af92c69

File tree

1 file changed

+33
-6
lines changed

1 file changed

+33
-6
lines changed

.travis.yml

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,39 @@
11
language: rust
2-
cache: false
3-
rust:
4-
- nightly
52

63
before_script:
74
- rustup component add rustfmt-preview
85
- cargo fmt --all -- --check
96

10-
script:
11-
- cargo build --verbose
12-
- cargo test --verbose
7+
matrix:
8+
include:
9+
- os: osx
10+
rust: stable
11+
script:
12+
- cargo build
13+
14+
- os: osx
15+
rust: beta
16+
script:
17+
- cargo build
18+
19+
- os: osx
20+
rust: nightly
21+
script:
22+
- cargo build
23+
- cargo test --verbose
24+
25+
- os: linux
26+
rust: stable
27+
script:
28+
- cargo build
29+
30+
- os: linux
31+
rust: beta
32+
script:
33+
- cargo build
34+
35+
- os: linux
36+
rust: nightly
37+
script:
38+
- cargo build
39+
- cargo test --verbose

0 commit comments

Comments
 (0)