all repos — mgba @ 5874235c2d7a2cfb11320a8fee575cc1be7506f3

mGBA Game Boy Advance Emulator

.travis.yml (view raw)

 1if: type = pull_request OR NOT branch =~ /^(master$|optimization)/ OR fork
 2language: c
 3sudo: required
 4services:
 5- docker
 6os: linux
 7env:
 8- DOCKER_TAG=ubuntu:xenial
 9- DOCKER_TAG=ubuntu:artful
10- DOCKER_TAG=ubuntu:bionic
11- DOCKER_TAG=3ds
12- DOCKER_TAG=wii
13- DOCKER_TAG=vita
14- DOCKER_TAG=windows:w32
15- DOCKER_TAG=windows:w64
16
17matrix:
18  include:
19  - os: osx
20    compiler: clang
21    env: DOCKER_TAG=
22
23before_install:
24- '[ -z "$DOCKER_TAG" ] || docker pull mgba/$DOCKER_TAG'
25- '[ "$TRAVIS_OS_NAME" != "osx" ] || . ./.travis-deps.sh'
26- 'mkdir build && chmod 777 build'
27
28script:
29- '[ -z "$DOCKER_TAG" ] || docker run -e BUILD_DIR=build -e MAKEFLAGS=-j2 -v $PWD:/home/mgba/src mgba/$DOCKER_TAG'
30- '[ "$TRAVIS_OS_NAME" != "osx" ] || (cd build && cmake -DCMAKE_PREFIX_PATH="/usr/local/opt/qt5" .. && make -j2)'