.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

View File

@@ -1,19 +1,37 @@
language: bash
sudo: false
git:
depth: 200
env:
global:
- PATH=$PATH:$PWD/xtools
- PATH=$PATH:$HOME/bin
matrix:
- ARCH=x86_64
- ARCH=i686
- ARCH=armv6hf
- ARCH=armv7hf
cache:
directories:
- $HOME/repocache
before_cache:
- mv hostdir/repocache/* $HOME/repocache
before_script:
- git clone --depth 1 git://github.com/chneukirchen/xtools.git xtools
- common/travis/prepare.sh
- common/travis/fetch_upstream.sh
- common/travis/changed_templates.sh
- common/travis/xlint.sh
- common/travis/bootstrap.sh
script:
- git fetch --depth 200 git://github.com/voidlinux/void-packages.git master
- git diff --name-status FETCH_HEAD...HEAD | grep "^[AM].*srcpkgs/[^/]*/template$" | awk '{print $2}' | tee __changed_templates
- xlint `cat __changed_templates`
- common/travis/build.sh $ARCH
after_script:
- common/travis/show_files.sh
notifications:
email: false