mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 23:32:39 +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
|
- $HOME/.cargo
|
||||||
sudo: false
|
sudo: false
|
||||||
script:
|
script:
|
||||||
- ./.travis_fixup.sh
|
|
||||||
- cargo build
|
- cargo build
|
||||||
- cargo test --no-fail-fast
|
- 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",
|
"expr",
|
||||||
"factor",
|
"factor",
|
||||||
"false",
|
"false",
|
||||||
"fmt", # skip_on_beta
|
"fmt",
|
||||||
"fold",
|
"fold",
|
||||||
"hashsum",
|
"hashsum",
|
||||||
"head",
|
"head",
|
||||||
|
@ -76,7 +76,7 @@ generic = [
|
||||||
"tail",
|
"tail",
|
||||||
"tee",
|
"tee",
|
||||||
"test",
|
"test",
|
||||||
"tr", # skip_on_beta
|
"tr",
|
||||||
"true",
|
"true",
|
||||||
"truncate",
|
"truncate",
|
||||||
"tsort",
|
"tsort",
|
||||||
|
|
Loading…
Reference in a new issue