mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-22 20:15:28 +00:00
28 lines
737 B
YAML
28 lines
737 B
YAML
language: c
|
|
sudo: false
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" && "$MACOS_UNIVERSAL" != "yes" ]]; then brew install cmocka; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" && "$MACOS_UNIVERSAL" == "yes" ]]; then brew install --universal cmocka; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./install-cmocka-linux.sh; fi
|
|
script:
|
|
- make && make -C bindings/go && make -C bindings/go test && make test
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
os:
|
|
- linux
|
|
- osx
|
|
matrix:
|
|
include:
|
|
- os: osx
|
|
compiler: clang
|
|
env: MACOS_UNIVERSAL=yes
|
|
- os: osx
|
|
compiler: gcc
|
|
env: MACOS_UNIVERSAL=yes
|
|
addons:
|
|
apt:
|
|
packages:
|
|
# mingw-w64 packages too old in precise
|