summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Figuière <hub@figuiere.net>2017-01-08 19:53:22 -0500
committerHubert Figuière <hub@figuiere.net>2017-01-08 19:57:25 -0500
commitf48075dc10e9873d51db01bcb753810b382ae26f (patch)
tree8dfb23347f07f461596d86f1a0e48da626c92ef4
parentb499f0f6a65061e2ef33848b21bbef4c7b724181 (diff)
Travis: build on macOS too
-rw-r--r--.travis.yml67
1 files changed, 38 insertions, 29 deletions
diff --git a/.travis.yml b/.travis.yml
index bb8abfc..3e74bf6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,34 +1,43 @@
dist: trusty
language: cpp
+os:
+ - linux
+ - osx
+
matrix:
- include:
- - compiler: gcc
- env: COMPILER=g++
- - compiler: gcc
- addons:
- apt:
- sources:
- - ubuntu-toolchain-r-test
- packages:
- - libboost-test-dev
- - g++-5
- env: COMPILER=g++-5
- - compiler: gcc
- addons:
- apt:
- sources:
- - ubuntu-toolchain-r-test
- packages:
- - libboost-test-dev
- - g++-6
- env: COMPILER=g++-6
- - compiler: clang
- env: COMPILER=clang++
-addons:
+ include:
+ - os: linux
+ - os: osx
+ osx_image: xcode7.2
+ - os: osx
+ osx_image: xcode8.1
+ - compiler: gcc
+ env: COMPILER=g++
+ - compiler: gcc
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - libboost-test-dev
+ - g++-5
+ env: COMPILER=g++-5
+ - compiler: gcc
+ addons:
apt:
- packages:
- - libboost-test-dev
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - libboost-test-dev
+ - g++-6
+ env: COMPILER=g++-6
+ - compiler: clang
+ env: COMPILER=clang++
+addons:
+ apt:
+ packages:
+ - libboost-test-dev
script:
- - ./autogen.sh
- - make
- - make distcheck
+ - ./autogen.sh
+ - make
+ - make distcheck