Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit fac4f96

Browse files
committed
.travis.yml: Build-test on Rust 1.10
Document the distinction between full support and minimum support in README.md.
1 parent 339af70 commit fac4f96

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.travis.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ rust:
33
- stable
44
- beta
55
- nightly
6-
# Oldest supported version.
6+
# Oldest supported version for all features.
77
# Use of https://github.com/rust-lang/rfcs/pull/16
88
- 1.13.0
9+
# Oldest supported version as dependency, with no features, tests, or examples.
10+
- 1.10.0
911

1012
sudo: false
1113
cache: cargo
@@ -22,8 +24,9 @@ before_script:
2224
export PATH=$HOME/.local/bin:$PATH
2325
2426
script:
25-
- cargo build --verbose $FEATURES
26-
- cargo test --verbose $FEATURES
27+
- travis-cargo --skip 1.10.0 build -- $FEATURES
28+
- travis-cargo --skip 1.10.0 test -- $FEATURES
29+
- travis-cargo --only 1.10.0 build -- --no-default-features
2730

2831
after_success:
2932
- travis-cargo --only stable doc
@@ -32,6 +35,7 @@ after_success:
3235
env:
3336
global:
3437
- secure: ncxJbvJM1vCZfcEftjsFKJMxxhKLgWKaR8Go9AMo0VB5fB2XVW/6NYO5bQEEYpOf1Nc/+2FbI2+Dkz0S/mJpUcNSfBgablCHgwU2sHse7KsoaqfHj2mf1E3exjzSHoP96hPGicC5zAjSXFjCgJPOUSGqqRaJ7z5AsJLhJT6LuK7QpvwPBZzklUN8T+n1sVmws8TNmRIbaniq/q6wYHANHcy6Dl59dx4sKwniUGiZdUhCiddVpoxbECSxc0A8mN2pk7/aW+WGxK3goBs5ZF7+JXF318F62pDcXQmR5CX6WdpenIcJ25g1Vg1WhQ4Ifpe17CN0bfxV8ShuzrQUThCDMffZCo9XySBtODdEowwK1UIpjnFLfIxjOs45Cd8o3tM2j0CfvtnjOz6BCdUU0qiwNPPNx0wFkx3ZiOfSh+FhBhvyPM12HN2tdN0esgVBItFmEci+sSIIXqjVL6DNiu5zTjbu0bs6COwlUWdmL6vmsZtq5tl7Cno9+C3szxRVAkShGydd04l9NYjqNEzTa1EPG50OsnVRKGdRiFzSxhc3BWExNKvcQ4v867t6/PpPkW6s4oXmYI3+De+8O7ExWc6a4alcrDXKlMs5fCb5Pcd4Ju9kowcjkoJo5yf2wW3Ox5R8SJpaEEpvyhx5O/qtIxjhHNzeo8Wsr/6gdNDv20r91TI=
38+
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
3539
matrix:
3640
- FEATURES=--features=backtrace
3741
- FEATURES=--no-default-features

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ to error-chain.
2828
Please view the beginning of the [Travis configuration file](.travis.yml)
2929
to see the oldest supported Rust version.
3030

31+
Note that `error-chain` supports older versions of Rust when built with
32+
`default-features = false`.
33+
3134
## License
3235

3336
MIT/Apache-2.0

0 commit comments

Comments
 (0)