Add Travis configuration file

pull/402/head
Jeffrey Walton 2017-04-17 00:25:57 -04:00
parent b784852998
commit 3d9ac8f66f
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 60 additions and 0 deletions

60
.travis.yml Normal file
View File

@ -0,0 +1,60 @@
language: cpp
os:
- linux
- osx
dist: trusty
sudo: false
osx_image:
- xcode6.4
- xcode7.3
- xcode8.2
git:
depth: 3
compiler:
- clang
- gcc
env:
global:
- BUILD_JOBS=2
matrix:
- BUILD_MODE="shared"
- BUILD_MODE="static"
- BUILD_MODE="no-asm"
- BUILD_MODE="asan"
- BUILD_MODE="ubsan"
- BUILD_MODE="valgrind"
#matrix:
# allow_failures:
# - os: linux
# env: BUILD_MODE="lint"
exclude:
# Skip GCC on OS X entirely
- os: osx
compiler: gcc
# The sanitizer builds under Clang run the tests very
# slowly and cause CI timeouts.
- compiler: clang
env: BUILD_MODE="asan"
- compiler: clang
env: BUILD_MODE="ubsan"
- compiler: clang
env: BUILD_MODE="valgrind"
# whitelist branches to avoid testing feature branches twice
branches:
only:
- master
#notifications:
# email: jdoe@example.com