mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 14:52:41 +00:00
travis: build/test everything on stable
This commit is contained in:
parent
94b8f9fe37
commit
1183dcd7a1
3 changed files with 2 additions and 27 deletions
|
@ -11,6 +11,5 @@ cache:
|
|||
- $HOME/.cargo
|
||||
sudo: false
|
||||
script:
|
||||
- ./.travis_fixup.sh
|
||||
- cargo build
|
||||
- cargo test --no-fail-fast
|
||||
|
|
|
@ -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
|
||||
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue