10000 travis: also test with minimum supported Rust version · unicode-rs/unicode-segmentation@b763059 · GitHub
[go: up one dir, main page]

Skip to content

Commit b763059

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 9d73b09 commit b763059

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+
- 1.13.0
4+
- stable
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)
0