2015-01-02 08:13:51 -08:00
|
|
|
language: c
|
2020-05-28 12:53:23 -07: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 08:13:51 -08:00
|
|
|
compiler:
|
|
|
|
|
- clang
|
2020-05-28 12:53:23 -07:00
|
|
|
- gcc
|
2018-03-29 14:26:45 +01:00
|
|
|
|
2018-07-14 10:35:45 -07:00
|
|
|
jobs:
|
|
|
|
|
include:
|
2020-05-28 09:57:29 -07:00
|
|
|
- os: linux
|
|
|
|
|
- os: osx
|
|
|
|
|
env: WREN_TARGET_MAC=1
|
2018-03-29 14:26:45 +01:00
|
|
|
|
2015-07-10 10:35:25 -07: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-28 20:25:26 -07:00
|
|
|
- g++-multilib
|
2018-03-29 14:26:45 +01:00
|
|
|
|
2018-07-14 11:05:41 -07:00
|
|
|
dist: trusty
|
|
|
|
|
|
2020-05-28 09:57:29 -07:00
|
|
|
script: ./.travis.sh
|