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: env:
- ENABLE_UI=OFF - ENABLE_UI=OFF
- XVFB=xvfb-run - 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 - os: linux
addons: addons:
apt: apt:
@ -47,10 +65,12 @@ script:
- ninja - ninja
- | - |
if $XVFB ctest --output-on-failure ; then if $XVFB ctest --output-on-failure ; then
export ASEPRITE=$PWD/bin/aseprite if [ "$SKIP_TESTS_REPO" == "" ] ; then
git clone --recursive https://github.com/aseprite/tests.git export ASEPRITE=$PWD/bin/aseprite
cd tests git clone --recursive https://github.com/aseprite/tests.git
$XVFB bash run-tests.sh cd tests
$XVFB bash run-tests.sh
fi
else else
exit 1 exit 1
fi fi