1
0
forked from Mirror/wren
Files
wren/.travis.yml
Bob Nystrom c120769977 Make some tweaks to doc deploy script.
- Rename file to match other naming conventions.
- Simplify condition a little.
2018-07-13 08:02:37 -07:00

31 lines
675 B
YAML

language: c
os:
- linux
- osx
compiler:
- gcc
- clang
env:
- WREN_OPTIONS="" CI_ARCHS="ci_32 ci_64"
- WREN_OPTIONS="-DWREN_NAN_TAGGING=0" CI_ARCHS="ci_64"
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
# 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
- g++-multilib
- python3-markdown
- ruby-sass
sudo: false # Enable container-based builds.
script: make WREN_CFLAGS=${WREN_OPTIONS} ${CI_ARCHS}