travis: add basic build test

QubesOS/qubes-issues#1926
This commit is contained in:
Marek Marczykowski-Górecki 2016-05-24 13:49:21 +02:00
parent 68ab062cde
commit ff0bb730bb
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
2 changed files with 14 additions and 0 deletions

11
.travis.yml Normal file
View File

@ -0,0 +1,11 @@
sudo: required
dist: trusty
language: generic
install: git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
script:
- ~/qubes-builder/scripts/travis-build
- travis_wait 30 make -C ~/qubes-builder iso BUILDERCONF=scripts/travis-builder.conf VERBOSE=0 COMPONENTS=installer-qubes-os
after_script:
- tail -n 1000 ~/qubes-builder/build-logs/installer-qubes-os-iso-*.log
env:
DIST_DOM0=fc20 INSTALLER_KICKSTART=/tmp/qubes-installer/conf/travis-iso.ks USE_QUBES_REPO_VERSION=3.1

3
conf/travis-iso.ks Normal file
View File

@ -0,0 +1,3 @@
%include qubes-kickstart.cfg
repo --name=qubes-r3.1-testing --gpgkey=file:///tmp/qubes-installer/qubes-release/RPM-GPG-KEY-qubes-3.1-primary --baseurl=http://yum.qubes-os.org/r3.1/current-testing/dom0/fc20