Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
4a344e1e
Unverified
Commit
4a344e1e
authored
Mar 25, 2021
by
Niels Lohmann
Committed by
GitHub
Mar 25, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2375 from karzhenkov/fix-travis-release
Properly select "Release" build for Travis
parents
9d573511
bf75a1b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
.travis.yml
.travis.yml
+5
-2
No files found.
.travis.yml
View file @
4a344e1e
...
@@ -224,10 +224,13 @@ script:
...
@@ -224,10 +224,13 @@ script:
# append CXX_STANDARD to CMAKE_OPTIONS if required
# append CXX_STANDARD to CMAKE_OPTIONS if required
-
CMAKE_OPTIONS+=${CXX_STANDARD:+ -DCMAKE_CXX_STANDARD=$CXX_STANDARD -DCMAKE_CXX_STANDARD_REQUIRED=ON}
-
CMAKE_OPTIONS+=${CXX_STANDARD:+ -DCMAKE_CXX_STANDARD=$CXX_STANDARD -DCMAKE_CXX_STANDARD_REQUIRED=ON}
# build configuration
-
CMAKE_OPTIONS+=" -DCMAKE_BUILD_TYPE=Release"
# compile and execute unit tests
# compile and execute unit tests
-
mkdir -p build && cd build
-
mkdir -p build && cd build
-
cmake .. ${CMAKE_OPTIONS} -DJSON_BuildTests=On -GNinja && cmake --build .
--config Release
-
cmake .. ${CMAKE_OPTIONS} -DJSON_BuildTests=On -GNinja && cmake --build .
-
ctest -
C Release -
-timeout 2700 -V -j
-
ctest --timeout 2700 -V -j
-
cd ..
-
cd ..
# check if homebrew works (only checks develop branch)
# check if homebrew works (only checks develop branch)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment