diff --git a/.travis.yml b/.travis.yml index cf9015e0779..1c64988cc56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ env: - PATH=$PATH:$HOME/bin matrix: + - XLINT=1 - ARCH=x86_64 BOOTSTRAP=x86_64 - ARCH=i686 BOOTSTRAP=i686 - ARCH=armv6hf BOOTSTRAP=x86_64 diff --git a/common/travis/bootstrap.sh b/common/travis/bootstrap.sh index 8d8f9ba2fc8..755f70c2720 100755 --- a/common/travis/bootstrap.sh +++ b/common/travis/bootstrap.sh @@ -2,4 +2,6 @@ # # bootstrap.sh +[ "$XLINT" ] && exit 0 + ./xbps-src -H $HOME/hostdir binary-bootstrap $1 diff --git a/common/travis/build.sh b/common/travis/build.sh index bd632295a27..373220017ad 100755 --- a/common/travis/build.sh +++ b/common/travis/build.sh @@ -2,6 +2,8 @@ # # build.sh +[ "$XLINT" ] && exit 0 + if [ "$1" != "$2" ]; then arch="-a $2" fi diff --git a/common/travis/show_files.sh b/common/travis/show_files.sh index 7247029778b..89f0c2104c1 100755 --- a/common/travis/show_files.sh +++ b/common/travis/show_files.sh @@ -2,6 +2,8 @@ # # show_files.sh +[ "$XLINT" ] && exit 0 + if [ "$1" != "$2" ]; then arch="-a $2" fi diff --git a/common/travis/xlint.sh b/common/travis/xlint.sh index 8233ce2a352..2d5a71b71be 100755 --- a/common/travis/xlint.sh +++ b/common/travis/xlint.sh @@ -2,4 +2,6 @@ # # xlint.sh +[ "$XLINT" ] || exit 0 + awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates | xargs xlint