Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
839681ff
Unverified
Commit
839681ff
authored
Aug 25, 2017
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
👷
using Ninja
parent
3dcd3601
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
.travis.yml
.travis.yml
+22
-22
No files found.
.travis.yml
View file @
839681ff
...
...
@@ -37,7 +37,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
g++-4.9
,
valgrind
]
packages
:
[
'
g++-4.9'
,
'
valgrind'
,
'
ninja-build'
]
# clang sanitizer
-
os
:
linux
...
...
@@ -48,7 +48,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-trusty-5.0'
]
packages
:
[
'
g++-6'
,
'
clang-5.0'
]
packages
:
[
'
g++-6'
,
'
clang-5.0'
,
'
ninja-build'
]
# cppcheck
-
os
:
linux
...
...
@@ -59,7 +59,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
g++-4.9
,
cppcheck
]
packages
:
[
'
g++-4.9'
,
'
cppcheck'
,
'
ninja-build'
]
after_success
:
-
make cppcheck
...
...
@@ -73,7 +73,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
g++-4.9
,
cppcheck
]
packages
:
[
'
g++-4.9'
,
'
cppcheck'
,
'
ninja-build'
]
after_success
:
-
make clean
-
CPPFLAGS="-DJSON_NOEXCEPTION" make check TEST_PATTERN="-e \"*\""
...
...
@@ -85,7 +85,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-4.9'
,
'
ruby'
]
packages
:
[
'
g++-4.9'
,
'
ruby'
,
'
ninja-build'
]
before_script
:
-
wget http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.11.orig.tar.gz
-
tar xf lcov_1.11.orig.tar.gz
...
...
@@ -113,7 +113,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-precise-3.6'
]
packages
:
[
'
g++-6'
,
'
clang-3.6'
]
packages
:
[
'
g++-6'
,
'
clang-3.6'
,
'
ninja-build'
]
coverity_scan
:
project
:
name
:
"
nlohmann/json"
...
...
@@ -157,7 +157,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
g++-4.9
packages
:
[
'
g++-4.9'
,
'
ninja-build'
]
-
os
:
linux
compiler
:
gcc
...
...
@@ -165,7 +165,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
g++-5
packages
:
[
'
g++-5'
,
'
ninja-build'
]
-
os
:
linux
compiler
:
gcc
...
...
@@ -173,7 +173,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
g++-6
packages
:
[
'
g++-6'
,
'
ninja-build'
]
-
os
:
linux
compiler
:
gcc
...
...
@@ -181,7 +181,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
g++-7
packages
:
[
'
g++-7'
,
'
ninja-build'
]
-
os
:
linux
compiler
:
gcc
...
...
@@ -191,7 +191,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
g++-7
packages
:
[
'
g++-7'
,
'
ninja-build'
]
# Linux / Clang
...
...
@@ -201,7 +201,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-precise-3.5'
]
packages
:
[
'
g++-6'
,
'
clang-3.5'
]
packages
:
[
'
g++-6'
,
'
clang-3.5'
,
'
ninja-build'
]
-
os
:
linux
compiler
:
clang
...
...
@@ -209,7 +209,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-precise-3.6'
]
packages
:
[
'
g++-6'
,
'
clang-3.6'
]
packages
:
[
'
g++-6'
,
'
clang-3.6'
,
'
ninja-build'
]
-
os
:
linux
compiler
:
clang
...
...
@@ -217,7 +217,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-precise-3.7'
]
packages
:
[
'
g++-6'
,
'
clang-3.7'
]
packages
:
[
'
g++-6'
,
'
clang-3.7'
,
'
ninja-build'
]
-
os
:
linux
compiler
:
clang
...
...
@@ -225,7 +225,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-6'
,
'
clang-3.8'
]
packages
:
[
'
g++-6'
,
'
clang-3.8'
,
'
ninja-build'
]
-
os
:
linux
compiler
:
clang
...
...
@@ -233,7 +233,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-6'
,
'
clang-3.9'
]
packages
:
[
'
g++-6'
,
'
clang-3.9'
,
'
ninja-build'
]
-
os
:
linux
compiler
:
clang
...
...
@@ -241,7 +241,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-trusty-4.0'
]
packages
:
[
'
g++-6'
,
'
clang-4.0'
]
packages
:
[
'
g++-6'
,
'
clang-4.0'
,
'
ninja-build'
]
-
os
:
linux
compiler
:
clang
...
...
@@ -249,7 +249,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-trusty-5.0'
]
packages
:
[
'
g++-6'
,
'
clang-5.0'
]
packages
:
[
'
g++-6'
,
'
clang-5.0'
,
'
ninja-build'
]
-
os
:
linux
compiler
:
clang
...
...
@@ -259,7 +259,7 @@ matrix:
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-trusty-5.0'
]
packages
:
[
'
g++-6'
,
'
clang-5.0'
]
packages
:
[
'
g++-6'
,
'
clang-5.0'
,
'
ninja-build'
]
################
# build script #
...
...
@@ -268,9 +268,9 @@ matrix:
script
:
# get CMake (only for systems with brew - macOS)
-
|
if [[
!(-x $(which cmake)) &&
(-x $(which brew)) ]]; then
if [[ (-x $(which brew)) ]]; then
brew update
brew install cmake
brew install cmake
ninja
cmake --version
fi
...
...
@@ -283,7 +283,7 @@ script:
# compile and execute unit tests
-
mkdir -p build && cd build
-
cmake .. ${CMAKE_OPTIONS}
&& cmake --build . --config Release -- -j4
-
cmake .. ${CMAKE_OPTIONS}
-GNinja && cmake --build . --config Release
-
ctest -C Release -V
-
cd ..
...
...
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