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:
|
2019-01-12 08:54:50 -06:00
|
|
|
packages:
|
|
|
|
- meson
|
|
|
|
- ninja
|
2019-01-11 15:13:10 -06:00
|
|
|
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-12 08:54:50 -06:00
|
|
|
env: LIB_TYPE=static BUILD_TYPE=release
|
2015-04-18 18:24:46 -07:00
|
|
|
- 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:
|
2019-01-12 08:54:50 -06:00
|
|
|
- source ./.travis_scripts/travis.before_install.${TRAVIS_OS_NAME}.sh
|
2019-01-11 15:13:10 -06:00
|
|
|
install:
|
2019-01-12 08:54:50 -06:00
|
|
|
- source ./.travis_scripts/travis.install.${TRAVIS_OS_NAME}.sh
|
|
|
|
script: ./.travis_scripts/travis.sh
|