all repos — mgba @ a4177f8e84dbe9494fd7f88ba047464d53d4e96b

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:bionic
10- DOCKER_TAG=ubuntu:disco
11- DOCKER_TAG=ubuntu:eoan
12- DOCKER_TAG=3ds
13- DOCKER_TAG=wii
14- DOCKER_TAG=vita
15- DOCKER_TAG=switch
16- DOCKER_TAG=windows:w32
17- DOCKER_TAG=windows:w64
18
19jobs:
20  include:
21  - os: osx
22    osx_image: xcode12.2
23    compiler: clang
24    env: DOCKER_TAG=
25
26before_install:
27- '[ -z "$DOCKER_TAG" ] || docker pull mgba/$DOCKER_TAG'
28- '. ./.travis-deps.sh'
29- 'mkdir build && chmod 777 build'
30
31script:
32- '[ -z "$DOCKER_TAG" ] || docker run -e BUILD_DIR=build -e MAKEFLAGS=-j2 -v $PWD:/home/mgba/src mgba/$DOCKER_TAG'
33- '[ "$TRAVIS_OS_NAME" != "osx" ] || (cd build && cmake -DCMAKE_PREFIX_PATH="/usr/local/opt/qt5" .. && make -j2)'