ci: Ignore builds for branches aimed at other CI services

Make appveyor ignore builds for /travis.*/ and vice versa. If you're
only testing a Windows change, building for OSX and Linux too is a bit
rude.

Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2018-03-14 16:43:09 -04:00
parent ae5c0dd199
commit 8718d46157
4 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,6 @@
branches:
except:
- /travis.*/
version: '{build}'
skip_tags: true
environment:

View File

@ -1,5 +1,8 @@
language: c
cache: ccache
branches:
except:
- /appveyor.*/
matrix:
include:

View File

@ -12,3 +12,9 @@ meson setup build/
meson configure -Dprefix=$PREFIX build/
ninja -C build/ install
ninja -C build/ test
status=$?
cat build/meson-logs/testlog.txt
exit $status

View File

@ -1,9 +1,9 @@
#!/bin/sh
# this times out on Travis, because the tests take too long.
if test "x$TRAVIS_BUILD_DIR" != "x"; then
exit 77
fi
#if test "x$TRAVIS_BUILD_DIR" != "x"; then
# exit 77
#fi
export SERVER_COMMAND="$XSERVER_BUILDDIR/hw/vfb/Xvfb \
-noreset \