Skip to content

Commit 86f6aa3

Browse files
committed
Use min Rust version but test beta and nightly
1 parent a8cf6cb commit 86f6aa3

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.travis.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sudo: required
88

99
# This is the Rust channel that build jobs will use by default but can be
1010
# overridden on a case by case basis down below
11-
rust: stable
11+
rust: 1.13.0
1212

1313
env:
1414
global:
@@ -53,7 +53,25 @@ matrix:
5353
- env: TARGET=arm-unknown-linux-gnueabi
5454
# - env: TARGET=arm-unknown-linux-musleabi
5555

56-
# Testing other channels
56+
# Testing beta on main targets
57+
- env: TARGET=x86_64-unknown-linux-gnu
58+
rust: beta
59+
- env: TARGET=x86_64-apple-darwin
60+
os: osx
61+
rust: beta
62+
63+
# Testing nightly on main targets (allowed to fail)
64+
- env: TARGET=x86_64-unknown-linux-gnu
65+
rust: nightly
66+
- env: TARGET=x86_64-apple-darwin
67+
os: osx
68+
rust: nightly
69+
70+
# Testing nightlies on main targets. These might fail because of issues
71+
# with the compiler, so we allow failures here.
72+
allow_failures:
73+
# Failures for nightlies may be because of compiler bugs, so don't fail the
74+
# build if these fail.
5775
- env: TARGET=x86_64-unknown-linux-gnu
5876
rust: nightly
5977
- env: TARGET=x86_64-apple-darwin

0 commit comments

Comments
 (0)