Update Travis CI to test other compilation configurations

This commit is contained in:
David Capello 2019-07-15 16:19:32 -03:00
parent 655ce92836
commit 66442ee575

View File

@ -15,6 +15,24 @@ matrix:
env:
- ENABLE_UI=OFF
- XVFB=xvfb-run
- os: linux
addons:
apt:
packages:
- libpixman-1-dev libfreetype6-dev libharfbuzz-dev libx11-dev libxcursor-dev ninja-build
env:
- ENABLE_SCRIPTING=OFF
- XVFB=xvfb-run
- os: linux
addons:
apt:
packages:
- libpixman-1-dev libfreetype6-dev libharfbuzz-dev libx11-dev libxcursor-dev ninja-build
env:
- ENABLE_SCRIPTING=OFF
- ENABLE_UI=OFF
- SKIP_TESTS_REPO=ON
- XVFB=xvfb-run
- os: linux
addons:
apt:
@ -47,10 +65,12 @@ script:
- ninja
- |
if $XVFB ctest --output-on-failure ; then
export ASEPRITE=$PWD/bin/aseprite
git clone --recursive https://github.com/aseprite/tests.git
cd tests
$XVFB bash run-tests.sh
if [ "$SKIP_TESTS_REPO" == "" ] ; then
export ASEPRITE=$PWD/bin/aseprite
git clone --recursive https://github.com/aseprite/tests.git
cd tests
$XVFB bash run-tests.sh
fi
else
exit 1
fi