Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
rapidjson
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
rapidjson
Commits
63ad11c3
Commit
63ad11c3
authored
Feb 17, 2015
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add support for `AppVeyor` CI for checking Windows builds
parent
ecc14866
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
3 deletions
+37
-3
CMakeLists.txt
CMakeLists.txt
+4
-0
appveyor.yml
appveyor.yml
+28
-0
readme.md
readme.md
+4
-0
documenttest.cpp
test/unittest/documenttest.cpp
+1
-1
valuetest.cpp
test/unittest/valuetest.cpp
+0
-2
No files found.
CMakeLists.txt
View file @
63ad11c3
...
...
@@ -53,6 +53,10 @@ if(RAPIDJSON_BUILD_EXAMPLES)
endif
()
if
(
RAPIDJSON_BUILD_TESTS
)
if
(
MSVC11
)
# required for VS2012 due to missing support for variadic templates
add_definitions
(
-D_VARIADIC_MAX=10
)
endif
(
MSVC11
)
add_subdirectory
(
test
)
include
(
CTest
)
endif
()
...
...
appveyor.yml
0 → 100644
View file @
63ad11c3
version
:
0.12.{build}
configuration
:
-
Debug
-
Release
platform
:
-
x86
-
x64
environment
:
matrix
:
-
VS_VERSION
:
11
-
VS_VERSION
:
12
-
VS_VERSION
:
14
before_build
:
-
git submodule update --init --recursive
-
if "%PLATFORM%" == "x86" set PLATFORM=win32
-
cmake -H. -BBuild/VS -G "Visual Studio %VS_VERSION%" -DCMAKE_GENERATOR_PLATFORM=%PLATFORM% -DBUILD_SHARED_LIBS=true -Wno-dev
build
:
project
:
Build\VS\RapidJSON.sln
parallel
:
true
verbosity
:
minimal
test_script
:
-
cd Build\VS && ctest --verbose --timeout 120 --build-config %CONFIGURATION%
readme.md
View file @
63ad11c3
...
...
@@ -6,6 +6,10 @@ Copyright (c) 2011-2014 Milo Yip (miloyip@gmail.com)
[
RapidJSON Documentation
](
http://miloyip.github.io/rapidjson/
)
## Build status
*
Tavis CI (Linux):
[
![Travis Build status
](
https://travis-ci.org/Kosta-Github/rapidjson
)
](https://travis-ci.org/Kosta-Github/rapidjson)
*
AppVeyor (Windows):
[
![AppVeyor Build status
](
https://ci.appveyor.com/api/projects/status/3xw2isxomp5r4do7/branch/master?svg=true
)
](https://ci.appveyor.com/project/Kosta-Github/rapidjson/branch/master)
## Introduction
RapidJSON is a JSON parser and generator for C++. It was inspired by
[
RapidXml
](
http://rapidxml.sourceforge.net/
)
.
...
...
test/unittest/documenttest.cpp
View file @
63ad11c3
...
...
@@ -253,8 +253,8 @@ TEST(Document, Traits) {
static_assert
(
!
std
::
is_nothrow_constructible
<
Document
>::
value
,
""
);
static_assert
(
!
std
::
is_nothrow_default_constructible
<
Document
>::
value
,
""
);
static_assert
(
!
std
::
is_nothrow_copy_constructible
<
Document
>::
value
,
""
);
#ifndef _MSC_VER
static_assert
(
!
std
::
is_nothrow_copy_constructible
<
Document
>::
value
,
""
);
static_assert
(
std
::
is_nothrow_move_constructible
<
Document
>::
value
,
""
);
#endif
...
...
test/unittest/valuetest.cpp
View file @
63ad11c3
...
...
@@ -54,9 +54,7 @@ TEST(Value, Traits) {
#ifndef _MSC_VER
static_assert
(
std
::
is_nothrow_constructible
<
Value
>::
value
,
""
);
static_assert
(
std
::
is_nothrow_default_constructible
<
Value
>::
value
,
""
);
#endif
static_assert
(
!
std
::
is_nothrow_copy_constructible
<
Value
>::
value
,
""
);
#ifndef _MSC_VER
static_assert
(
std
::
is_nothrow_move_constructible
<
Value
>::
value
,
""
);
#endif
...
...
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