Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upadd travis task : compile and test under C++17 #2241
Conversation
coveralls
commented
Jul 6, 2020
•
| @@ -218,6 +218,17 @@ matrix: | |||
| sources: ['ubuntu-toolchain-r-test'] | |||
| packages: ['g++-9', 'ninja-build'] | |||
|
|
|||
| - os: linux | |||
This comment has been minimized.
This comment has been minimized.
nlohmann
Jul 6, 2020
Owner
We already have a test case above that sets CXXFLAGS=-std=c++2a. Maybe this can be reused.
This comment has been minimized.
This comment has been minimized.
dota17
Jul 7, 2020
Author
Contributor
Unfortunately, It seems that CXXFLAGS=-std=c++1z didn't work under c++17.
|
Reopening. |
|
At the same time, I think we should update Ubuntu distribution in .travis.yml, because |
As long as they are supported by Travis, I am fine with the working setup. I am afraid that the CI breaks if we are moving to a newer version. |
dota17 commentedJul 6, 2020
From #2213, we could know that
JSON_HAS_CPP_17is false in all travis jobs.Thus, we should add a task to compile and test under CXX17.