Travis CI: Build RPM package, too

This commit is contained in:
Sebastian Pipping 2017-08-19 16:46:41 +02:00
parent 3bdb11fc86
commit fc577ad9cb
2 changed files with 5 additions and 0 deletions

View file

@ -39,6 +39,10 @@ cd expat
if [[ ${MODE} = distcheck ]]; then
./configure
make distcheck
mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
ln -v -s "$PWD"/expat-*.tar.bz2 ~/rpmbuild/SOURCES/
rpmbuild -ba expat.spec
else
./qa.sh "${MODE}"
fi

View file

@ -20,6 +20,7 @@ addons:
- clang-4.0
- docbook2x
- dos2unix
- rpm
script:
- ./.travis.sh