Skip to content

Commit

Permalink
Merge pull request #8 from ricab/back-to-the-future
Browse files Browse the repository at this point in the history
Back to the future
  • Loading branch information
ricab authored May 1, 2019
2 parents 14c5cda + d2878b7 commit 760de0a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,11 @@ matrix:
- g++-7
env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
- os: osx
osx_image: xcode10.2
compiler: clang
- os: osx
osx_image: xcode10.2
compiler: gcc
- os: osx
os_image: xcode9.3
compiler: gcc
env: >- # preamble works around #8826 (https://is.gd/Ajub8r)
MATRIX_EVAL="brew cask uninstall oclint
&& brew install gcc && CC=gcc-7 && CXX=g++-7"

before_install:
- eval "${MATRIX_EVAL}" # determine overriding compiler, if set
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function(add_catch_tests_batch exe_ret src cxx17 require_noexcept)
derive_common_test_strings(tst exe ftr # out params
"catch_batch" TRUE ${cxx17} ${require_noexcept}) # in params
add_test_exe(${exe} ${src} ${ftr} ${require_noexcept})
target_link_libraries(${exe} PRIVATE Catch2::Catch)
target_link_libraries(${exe} PRIVATE Catch2::Catch2)

add_test(NAME ${tst} COMMAND ${exe} "--order" "lex")

Expand Down
2 changes: 1 addition & 1 deletion catch_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "scope_guard.hpp"

#define CATCH_CONFIG_MAIN // This tells Catch to provide a main()
#include "catch/catch.hpp"
#include "catch2/catch.hpp"

#include <functional>
#include <list>
Expand Down

0 comments on commit 760de0a

Please # to comment.