summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml19
1 files changed, 16 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index cd1c489..3b95345 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,9 @@
language: generic
sudo: false
os: osx
-env: CF=
+env:
+ global:
+ - CF=-DCOMPILE_OFFLINE_TESTS=1
matrix:
include:
@@ -9,7 +11,7 @@ matrix:
# before_install: &brew
# - brew update
# - brew install hidapi
- - osx_image: xcode6.4
+ - osx_image: xcode9.1
- osx_image: xcode8.2
- os: linux
dist: trusty
@@ -34,6 +36,16 @@ matrix:
sources: *sources
- os: linux
dist: trusty
+ env: COMPILER_NAME=gcc CXX=g++-7 CC=gcc-7
+ addons:
+ apt:
+ packages:
+ - cmake
+ - libhidapi-dev
+ - g++-7
+ sources: *sources
+ - os: linux
+ dist: trusty
env: COMPILER_NAME=clang CXX=clang++-3.8 CC=clang-3.8
addons:
apt:
@@ -55,4 +67,5 @@ install:
script:
- make -j2
- - ctest -VV \ No newline at end of file
+ - ctest -VV
+ - mkdir install && make install DESTDIR=install \ No newline at end of file