2017-11-23 10:56:24 +01:00
|
|
|
language: cpp
|
|
|
|
|
2016-06-16 21:22:47 +02:00
|
|
|
git:
|
|
|
|
depth: 3
|
2017-11-23 10:56:24 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
env: NAME="Ubuntu Linux (Latest)"
|
|
|
|
services: docker
|
|
|
|
script:
|
|
|
|
- scripts/docker/docker_travis.sh "ubuntu_latest.docker"
|
|
|
|
- os: linux
|
|
|
|
env: NAME="Fedora Linux (Latest)"
|
|
|
|
services: docker
|
|
|
|
script:
|
|
|
|
- scripts/docker/docker_travis.sh "fedora_latest.docker"
|
|
|
|
- os: linux
|
|
|
|
env: NAME="Arch Linux (Latest)"
|
|
|
|
services: docker
|
|
|
|
script:
|
|
|
|
- scripts/docker/docker_travis.sh "arch_latest.docker"
|
2018-02-09 13:42:19 +01:00
|
|
|
- os: osx
|
|
|
|
env: NAME="Apple macOS"
|
|
|
|
osx_image: xcode9.2
|
|
|
|
install:
|
|
|
|
- brew update
|
|
|
|
- brew upgrade
|
|
|
|
- brew install boost cmake bullet ffmpeg glm openal-soft qt5 sdl2
|
|
|
|
- export PATH="/usr/local/opt/qt/bin:$PATH"
|
|
|
|
script:
|
|
|
|
- mkdir -p "$TRAVIS_BUILD_DIR/build"
|
|
|
|
- ctest -S "$TRAVIS_BUILD_DIR/cmake/ctest/travis_script.ctest" -VV -DSRC_DIR="$TRAVIS_BUILD_DIR" -DBIN_DIR="$TRAVIS_BUILD_DIR/build"
|
2017-11-23 10:56:24 +01:00
|
|
|
|
2016-06-16 21:22:47 +02:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
# irc:
|
|
|
|
# channels:
|
|
|
|
# - chat.freenode.net#openrw
|
|
|
|
# template:
|
|
|
|
# - "%{repository}/%{branch} (%{commit} - %{author}): %{build_url}: %{message}"
|