wut/.travis.yml

41 lines
1.0 KiB
YAML
Raw Normal View History

2017-06-02 14:49:09 +02:00
language: cpp
matrix:
include:
- os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- zlib1g-dev
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
- os: osx
osx_image: xcode8.3
2017-06-02 14:49:09 +02:00
cache:
directories:
- "$HOME/.local"
before_install:
- eval "${MATRIX_EVAL}"
git:
submodules: true
before_script:
2017-09-01 13:31:46 +02:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://freefr.dl.sourceforge.net/project/devkitpro/devkitPPC/devkitPPC_r29-1/devkitPPC_r29-1-x86_64-linux.tar.bz2 -O /tmp/devkitPPC.tar.bz2; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://freefr.dl.sourceforge.net/project/devkitpro/devkitPPC/devkitPPC_r29-1/devkitPPC_r29-1-x86_64-osx.tar.bz2 -O /tmp/devkitPPC.tar.bz2; fi
2017-06-02 14:49:09 +02:00
- tar -xjf /tmp/devkitPPC.tar.bz2
- export DEVKITPPC=$PWD/devkitPPC
script:
- cd "$TRAVIS_BUILD_DIR"
- mkdir cbuild && cd cbuild
- cmake -DCMAKE_INSTALL_PREFIX=/tmp/wut_install ../
- make -j4
- make install