From 2ae6b603739eaf6489488c4be3db08ab52d1d472 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 10 Oct 2017 18:55:40 +0200 Subject: Use latest xcode. Compile offline tests for fast check. Signed-off-by: Szczepan Zalega --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cd1c489..b642309 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 -- cgit v1.2.3 From a0ab1256375389f3678d1fa180aa2ed6657dd5be Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 10 Oct 2017 19:02:18 +0200 Subject: Test installation procedure Signed-off-by: Szczepan Zalega --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b642309..f093aef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,4 +57,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 -- cgit v1.2.3 From 24126ab9bc6461761890f0213679ed9aaed48c87 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 10 Oct 2017 19:07:51 +0200 Subject: Add GCC 7 Signed-off-by: Szczepan Zalega --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index f093aef..3b95345 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,6 +34,16 @@ matrix: - libhidapi-dev - g++-6 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 -- cgit v1.2.3