Skip to content

Commit 7f5045c

Browse files
committed
travis: also test with minimum supported Rust version
The 1.2.0 release increased the minimum supported version of Rust from below 1.11.0 to 1.13.0 due to the introduction of code that use the "?" operator. This caused unexpected build failures in dependent crates, such as clap. This PR updates Travis to also test against the current minimum version. Changes to this version will thus fail PRs and it will become an active decision to bump the minimum supported Rust version. Fixes #26.
1 parent 611314a commit 7f5045c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
language: rust
2-
rust: stable
2+
rust:
3+
- stable
4+
- 1.13.0
35
os: linux
46
script:
57
- cargo build --verbose
68
- cargo test --verbose
79
- rustdoc --test README.md -L target/debug -L target/debug/deps
810
- cargo doc
911
after_success: |
12+
[ $TRAVIS_RUST_VERSION = stable ] &&
1013
[ $TRAVIS_BRANCH = master ] &&
1114
[ $TRAVIS_PULL_REQUEST = false ] &&
1215
echo '<meta http-equiv=refresh content=0;url=unicode_segmentation/index.html>' > target/doc/index.html &&

0 commit comments

Comments
 (0)