Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7532142

Browse files
committed
travis: also test with minimum supported Rust version
The 1.2.0 release increased the minimum supported version of Rust frombelow 1.11.0 to 1.13.0 due to the introduction of code that use the"?" operator. This caused unexpected build failures in dependentcrates, such as clap.This PR updates Travis to also test against the current minimumversion. Changes to this version will thus fail PRs and it will becomean active decision to bump the minimum supported Rust version.Between the commit was originally made and today, the minimum versionincreased further and the earliest version where I can get the crateto compile is now Rust 1.24.0.Fixes#26.
1 parent9d73b09 commit7532142

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.24.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)

[8]ページ先頭

©2009-2025 Movatter.jp