CI builders for all versions mentioned in the build script

This should prevent accidentally inserting something under one of these
cfgs that is available only on a newer rustc. For example if something
is changed in the Duration serialization, but that change works only on
a recent rustc, our test suite will not have caught it before.
This commit is contained in:
David Tolnay
2018-06-03 01:26:51 -07:00
parent 485a64aaf9
commit d094209774
2 changed files with 14 additions and 2 deletions
+8
View File
@@ -93,4 +93,12 @@ else
cargo clean
cd "$DIR/serde_derive"
channel build
for CHANNEL in 1.20.0 1.21.0 1.25.0 1.26.0; do
cd "$DIR"
cargo clean
cd "$DIR/serde"
channel build --no-default-features
channel build
done
fi