travis: build/test everything on stable

This commit is contained in:
Michael Gehring 2016-03-23 13:15:36 +01:00
parent 94b8f9fe37
commit 1183dcd7a1
3 changed files with 2 additions and 27 deletions

View file

@ -11,6 +11,5 @@ cache:
- $HOME/.cargo
sudo: false
script:
- ./.travis_fixup.sh
- cargo build
- cargo test --no-fail-fast

View file

@ -1,24 +0,0 @@
#!/usr/bin/env bash
if [ "$CI" != "true" ]; then
exit 1
fi
case "$TRAVIS_RUST_VERSION" in
"beta")
skip=$(grep skip_on_beta Cargo.toml | cut -d\" -f 2)
sed -i.org "/skip_on_beta/d" Cargo.toml
;;
"stable")
skip=$(grep -E "skip_on_beta|skip_on_stable" Cargo.toml | cut -d\" -f 2)
sed -i.org "/skip_on_beta/d" Cargo.toml
sed -i.org "/skip_on_stable/d" Cargo.toml
;;
esac
for x in $skip; do
if [ -f tests/$x.rs ]; then
mv tests/$x.rs tests/$x.rs.skip
fi
done

View file

@ -44,7 +44,7 @@ generic = [
"expr",
"factor",
"false",
"fmt", # skip_on_beta
"fmt",
"fold",
"hashsum",
"head",
@ -76,7 +76,7 @@ generic = [
"tail",
"tee",
"test",
"tr", # skip_on_beta
"tr",
"true",
"truncate",
"tsort",