34 lines
930 B
YAML
34 lines
930 B
YAML
language: cpp
|
|
compiler: gcc
|
|
dist: xenial
|
|
sudo: required
|
|
cache:
|
|
directories:
|
|
- $HOME/apt_mingw_cache
|
|
- $HOME/.ccache
|
|
- $HOME/pbuilder-bases
|
|
matrix:
|
|
include:
|
|
- env: TYPE=style
|
|
- os: linux
|
|
- env: TARGET_OS=debian-sid TARGET_DEPLOY=True
|
|
git:
|
|
depth: false
|
|
- env: TARGET_OS=debian-sid TARGET_ARCH=i386
|
|
git:
|
|
depth: false
|
|
- compiler: clang
|
|
env: TARGET_OS=debian-sid
|
|
git:
|
|
depth: false
|
|
- os: osx
|
|
osx_image: xcode10.3
|
|
before_install:
|
|
# appdmg doesn't work with old Node.js
|
|
- if [ "$TRAVIS_OS_NAME" = osx ]; then nvm install 10; fi
|
|
install: ${TRAVIS_BUILD_DIR}/.travis/install.sh
|
|
script: ${TRAVIS_BUILD_DIR}/.travis/script.sh
|
|
after_script: ${TRAVIS_BUILD_DIR}/.travis/after_script.sh
|
|
before_deploy:
|
|
- if [ "$TARGET_OS" != debian-sid ]; then make package; fi
|