2015-01-02 17:13:51 +01:00
|
|
|
language: c
|
2020-05-28 21:53:23 +02:00
|
|
|
|
|
|
|
|
# https://docs.travis-ci.com/user/languages/c/#gcc-on-macos
|
|
|
|
|
# On mac, gcc is aliased to clang, so we only have one row
|
|
|
|
|
# in build the matrix, not two like on linux
|
2015-01-02 17:13:51 +01:00
|
|
|
compiler:
|
|
|
|
|
- clang
|
2020-05-28 21:53:23 +02:00
|
|
|
- gcc
|
2018-03-29 15:26:45 +02:00
|
|
|
|
2018-07-14 19:35:45 +02:00
|
|
|
jobs:
|
|
|
|
|
include:
|
2020-05-28 18:57:29 +02:00
|
|
|
- os: linux
|
|
|
|
|
- os: osx
|
|
|
|
|
env: WREN_TARGET_MAC=1
|
2018-03-29 15:26:45 +02:00
|
|
|
|
2015-07-10 19:35:25 +02:00
|
|
|
# Travis VMs are 64-bit but we compile both for 32 and 64 bit. To enable the
|
|
|
|
|
# 32-bit builds to work, we need gcc-multilib.
|
|
|
|
|
addons:
|
|
|
|
|
apt:
|
|
|
|
|
packages:
|
|
|
|
|
- gcc-multilib
|
2015-08-29 05:25:26 +02:00
|
|
|
- g++-multilib
|
2018-03-29 15:26:45 +02:00
|
|
|
|
2018-07-14 20:05:41 +02:00
|
|
|
dist: trusty
|
|
|
|
|
|
2020-05-28 18:57:29 +02:00
|
|
|
script: ./.travis.sh
|