travis: no rpm check for all matrix tests

master
Harald Hoyer 2018-08-16 11:57:30 +02:00
parent f8cad00948
commit 9c034dc326
2 changed files with 17 additions and 13 deletions

View File

@ -4,12 +4,12 @@ services:
- docker - docker
env: env:
matrix: matrix:
- IMAGE=latest TESTS="01 02 03 04 10 11" - IMAGE=latest
- IMAGE=latest TESTS="12 13 15 17 18" - IMAGE=latest TESTS="01 02 03 04 10 11 12"
- IMAGE=latest TESTS="13 15 17 18"
- IMAGE=latest TESTS=20 - IMAGE=latest TESTS=20
- IMAGE=latest TESTS="30 31" - IMAGE=latest TESTS="30 31 99"
- IMAGE=latest TESTS=50 - IMAGE=latest TESTS="50 70"
- IMAGE=latest TESTS="70 99"


before_script: before_script:
- docker pull fedora:$IMAGE - docker pull fedora:$IMAGE

View File

@ -45,13 +45,17 @@ dnf -y install --best --allowerasing \


NCPU=$(getconf _NPROCESSORS_ONLN) NCPU=$(getconf _NPROCESSORS_ONLN)


make -j$NCPU all syncheck rpm logtee if ! [[ $TESTS ]]; then
make -j$NCPU all syncheck rpm logtee
else
make -j$NCPU all logtee


cd test cd test


time sudo make \ time sudo make \
KVERSION=$(rpm -qa kernel --qf '%{VERSION}-%{RELEASE}.%{ARCH}\n' | sort -rn | head -1) \ KVERSION=$(rpm -qa kernel --qf '%{VERSION}-%{RELEASE}.%{ARCH}\n' | sort -rn | head -1) \
TEST_RUN_ID=$RUN_ID \ TEST_RUN_ID=$RUN_ID \
${TESTS:+TESTS="$TESTS"} \ ${TESTS:+TESTS="$TESTS"} \
-k V=2 \ -k V=2 \
check check
fi