1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00
openrw/.travis.yml
2018-02-01 02:12:45 +00:00

43 lines
1.2 KiB
YAML

language: cpp
git:
depth: 3
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"
- 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/openal-soft/bin:/usr/local/opt/qt/bin:$PATH"
- export PKG_CONFIG_PATH=/usr/local/opt/openal-soft/lib/pkgconfig
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"
notifications:
email: false
# irc:
# channels:
# - chat.freenode.net#openrw
# template:
# - "%{repository}/%{branch} (%{commit} - %{author}): %{build_url}: %{message}"