aseprite/.travis.yml

35 lines
675 B
YAML
Raw Normal View History

2015-06-08 18:57:15 +00:00
language: cpp
2016-11-01 16:55:32 +00:00
dist: trusty
2015-06-08 18:57:15 +00:00
compiler:
- clang
- gcc
env:
matrix:
- ENABLE_UI=OFF
- ENABLE_UI=ON
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -y -qq g++-4.8
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
2015-06-08 18:57:15 +00:00
before_script:
- mkdir build
- cd build
- cmake .. -DENABLE_TESTS=ON -DENABLE_UI=$ENABLE_UI
2015-06-08 18:57:15 +00:00
script:
2018-06-14 15:08:29 +00:00
- make
- |
if ctest --output-on-failure ; then
if [[ "$ENABLE_UI" == "OFF" ]]; then
export ASEPRITE=$PWD/bin/aseprite
git clone https://github.com/aseprite/tests.git
cd tests
bash run-tests.sh
fi
fi