From 66442ee575d93d03945542aae3da5f3b0bed29f4 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 15 Jul 2019 16:19:32 -0300 Subject: [PATCH] Update Travis CI to test other compilation configurations --- .travis.yml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7257a205d..10f90f7aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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