travis compilet g++11 test apart

This commit is contained in:
wgroeneveld 2018-08-14 09:32:11 +02:00
parent f33c8a8a6d
commit 5ac1fca042
2 changed files with 6 additions and 2 deletions

View File

@ -15,7 +15,6 @@ before_install:
script: script:
- mkdir build - mkdir build
- cd build - cd build
- cmake -DCMAKE_CXX_COMPILER=$BIN_PATH/clang++ -DCMAKE_INSTALL_PREFIX=./ ../ - cmake ../test/
- cd test
- make - make
- ./unittest - ./unittest

View File

@ -1,4 +1,9 @@
cmake_minimum_required(VERSION 3.12) cmake_minimum_required(VERSION 3.12)
SET(CMAKE_CXX_STANDARD 11)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-narrowing")
set(CMAKE_VERBOSE_MAKEFILE on)
project(Unittest) project(Unittest)
enable_testing() enable_testing()