2015-01-02 17:13:51 +01:00
|
|
|
language: c
|
2016-10-09 10:18:27 +02:00
|
|
|
os:
|
|
|
|
|
- linux
|
2018-03-29 15:26:45 +02:00
|
|
|
- osx
|
2015-01-02 17:13:51 +01:00
|
|
|
compiler:
|
|
|
|
|
- gcc
|
|
|
|
|
- clang
|
2016-10-09 10:18:27 +02:00
|
|
|
env:
|
|
|
|
|
- WREN_OPTIONS="" CI_ARCHS="ci_32 ci_64"
|
|
|
|
|
- WREN_OPTIONS="-DWREN_NAN_TAGGING=0" CI_ARCHS="ci_64"
|
2018-03-29 15:26:45 +02:00
|
|
|
|
2018-07-13 18:15:26 +02:00
|
|
|
# TODO: Enable this once the TODOs in util/deploy_docs_from_travis.sh are fixed.
|
|
|
|
|
# jobs:
|
|
|
|
|
# include:
|
|
|
|
|
# - stage: deploy
|
|
|
|
|
# script: bash util/deploy_docs_from_travis.sh
|
|
|
|
|
# # Only deploy commits that land on master.
|
|
|
|
|
# if: branch = master and type = push
|
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
|
|
|
- python3-markdown
|
|
|
|
|
- ruby-sass
|
|
|
|
|
|
2015-07-10 19:35:25 +02:00
|
|
|
sudo: false # Enable container-based builds.
|
2016-10-09 10:18:27 +02:00
|
|
|
script: make WREN_CFLAGS=${WREN_OPTIONS} ${CI_ARCHS}
|