.travis.yml: test build packages on travis.
This commit is contained in:
28
.travis.yml
28
.travis.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user