.travis.yml: test build packages on travis.

This commit is contained in:
Enno Boland 2015-04-10 00:53:46 +02:00
parent cad5db125c
commit 8351befa28
8 changed files with 97 additions and 5 deletions

12
common/travis/build.sh Executable file
View file

@ -0,0 +1,12 @@
#! /bin/sh
#
# build.sh
if [ "$1" != x86_64 ]; then
arch="-a $1"
fi
for pkg in $(cat /tmp/templates); do
./xbps-src $arch -C pkg "$pkg" || exit 1
done