language: cpp
git:
depth: 1
submodules: false
env:
global:
- BUILD_FILENAME="build-$TRAVIS_OS_NAME.$TRAVIS_BUILD_NUMBER-$(date '+%Y-%m-%d_%H_%M_%S').tgz"
- MAKE_THREADS=4
matrix:
include:
- os: linux
name: "Synfig Studio Ubuntu 16.04 Xenial (GCC/Autotools)"
sudo: required
dist: xenial
cache: ccache
before_install: ./1-setup-linux-native.sh
before_script:
- ccache -s
- ccache --set-config=compression=true
script: ./travis.sh
after_script:
- autobuild/synfigrenderer-regression-test.sh
- ccache -s
- os: linux
name: "Synfig Studio Ubuntu 16.04 Xenial (CMake/Ninja)"
env: CMAKE=true
sudo: required
dist: xenial
cache: ccache
before_install: sudo apt-get install ninja-build && ./1-setup-linux-native.sh
before_script:
- ccache -s
- ccache --set-config=compression=true
script: mkdir -p build && cd build && cmake .. -GNinja && ninja
after_script: ccache -s # show ccache stats
- os: osx
name: "Synfig Studio OS X 10.10 Yosemite (Clang/Autotools/Brew)"
sudo: required
osx_image: xcode6.4
env:
- HOMEBREW_NO_AUTO_UPDATE=1
- HOMEBREW_NO_ANALYTICS=1
cache: ccache
before_install: brew reinstall libtool # fix no sed
install: ./1-setup-osx-brew.sh
before_script:
- ccache -s
- ccache --set-config=compression=true
script: ./travis.sh
after_script: ccache -s # show ccache stats
- os: osx
name: "Synfig Studio OS X 10.13 High Sierra (Clang/Autotools/Brew)"
sudo: required
osx_image: xcode10
env:
- HOMEBREW_NO_AUTO_UPDATE=1
- HOMEBREW_NO_ANALYTICS=1
cache: ccache
# oclint already uninstalled (fixed in Nov 2018)
#before_install: brew cask uninstall oclint # fix gcc installing
install: ./1-setup-osx-brew.sh
before_script:
- ccache -s
- ccache --set-config=compression=true
script: ./travis.sh
after_script: ccache -s # show ccache stats
allow_failures:
# - env: CMAKE=true
# - os: osx
- osx_image: xcode10