2015-04-18 18:24:46 -07:00
|
|
|
# Build matrix / environment variables are explained on:
|
2013-05-08 22:04:57 +00:00
|
|
|
# http://about.travis-ci.org/docs/user/build-configuration/
|
2013-05-08 22:15:15 +00:00
|
|
|
# This file can be validated on:
|
|
|
|
# http://lint.travis-ci.org/
|
2015-07-11 14:06:18 -05:00
|
|
|
# See also
|
|
|
|
# http://stackoverflow.com/questions/22111549/travis-ci-with-clang-3-4-and-c11/30925448#30925448
|
|
|
|
# to allow C++11, though we are not yet building with -std=c++11
|
2019-01-11 15:13:10 -06:00
|
|
|
language: cpp
|
|
|
|
sudo: false
|
2015-07-11 14:06:18 -05:00
|
|
|
addons:
|
2019-01-11 15:13:10 -06:00
|
|
|
homebrew:
|
|
|
|
packages: meson ninja
|
|
|
|
update: false # do not update homebrew by default
|
2015-07-11 14:06:18 -05:00
|
|
|
apt:
|
|
|
|
sources:
|
2015-04-18 18:24:46 -07:00
|
|
|
#- ubuntu-toolchain-r-test
|
2016-11-09 12:05:22 +03:00
|
|
|
- llvm-toolchain-precise-3.5
|
2015-07-11 14:06:18 -05:00
|
|
|
packages:
|
2015-04-18 18:24:46 -07:00
|
|
|
#- gcc-4.9
|
|
|
|
#- g++-4.9
|
2016-11-09 12:05:22 +03:00
|
|
|
- clang-3.5
|
2015-07-11 14:09:52 -05:00
|
|
|
- valgrind
|
2015-04-18 18:24:46 -07:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- os: osx
|
|
|
|
include:
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode9.4
|
|
|
|
compiler: clang
|
2019-01-11 15:13:10 -06:00
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages: meson ninja
|
2015-04-18 18:24:46 -07:00
|
|
|
#env: PYENV_ROOT=/usr/local/var/pyenv
|
2019-01-11 14:41:10 -06:00
|
|
|
env: LIB_TYPE=static BUILD_TYPE=release HOMEBREW_LOGS=~/homebrew-logs HOMEBREW_TEMP=~/homebrew-temp
|
2015-04-18 18:24:46 -07:00
|
|
|
#- LIB_TYPE=shared BUILD_TYPE=debug
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
compiler: clang
|
|
|
|
env: LIB_TYPE=static BUILD_TYPE=release
|
2013-05-08 21:23:52 +00:00
|
|
|
notifications:
|
2015-07-12 09:53:40 -05:00
|
|
|
email: false
|
2019-01-11 15:13:10 -06:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- source ./travis.before_install.${TRAVIS_OS_NAME}.sh
|
|
|
|
install:
|
|
|
|
- source ./travis.install.${TRAVIS_OS_NAME}.sh
|
|
|
|
script: ./travis.sh
|