mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Merge pull request #840 from ebfe/travis
travis: build/test everything on stable
This commit is contained in:
@@ -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
|
||||
|
||||
+2
-2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user