language: c
-anchors:
+_anchors:
envs:
- &tiny-nogui
BUILD=yes TEST=test COVERAGE=no FEATURES=tiny "CONFOPT='--disable-gui'" SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
osx: &osx
os: osx
+ before_script:
+ - do_test() { "$@"; }
+
+ homebrew: &osx-homebrew
addons:
homebrew:
packages:
cache:
directories:
- /usr/local/Homebrew/Library/Homebrew/vendor/
- - /usr/local/Homebrew/Library/Taps/
+ - /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/
before_install:
- rvm reset
# Lua is not installed on Travis OSX
- export LUA_PREFIX=/usr/local
- before_script:
- - do_test() { "$@"; }
coverage: &coverage
- ~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8
asan_symbolize < "${log}"
done < <(find . -type f -name 'asan.*' -size +0)
-sudo: false
-
branches:
except:
- /^v[0-9]/
# exclude some builds on mac os x and linux
# on mac os x "tiny" is always without GUI
# linux: 2*compiler + 5*env + mac: 2*compiler + 2*env
-matrix:
+jobs:
include:
- <<: *osx
name: tiny-nogui/clang
compiler: gcc
env: *tiny-nogui
- <<: *osx
+ <<: *osx-homebrew
name: huge/clang
compiler: clang
env: *osx-huge
- <<: *osx
+ <<: *osx-homebrew
name: huge/gcc
compiler: gcc
env: *osx-huge