travis: limit the tests to ami and vhd

ami and vhd tests support uploading to the cloud. However, this not yet
implemented by Schutzbot. This commit drops all the tests from Travis
except for these two.
This commit is contained in:
Ondřej Budai 2020-05-14 10:14:31 +02:00 committed by Tom Gundersen
parent 32c7a90464
commit 2520c5c60a

View file

@ -25,4 +25,4 @@ script:
- sudo sh -c 'mkdir /etc/rpm; echo "%_dbpath /var/lib/rpm" > /etc/rpm/macros'
- export GO111MODULE=on
- go test -c -tags 'travis integration' -o osbuild-image-tests ./cmd/osbuild-image-tests
- sudo ./osbuild-image-tests -test.v test/cases/$TRAVIS_JOB_NAME*
- sudo ./osbuild-image-tests -test.v test/cases/${TRAVIS_JOB_NAME}*-x86_64-ami-boot.json test/cases/${TRAVIS_JOB_NAME}*-x86_64-vhd-boot.json