Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
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
capnproto
Commits
ec794aee
Commit
ec794aee
authored
Apr 25, 2017
by
Kenton Varda
Committed by
GitHub
Apr 25, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #460 from sandstorm-io/travis-ci
Configure Travis CI for Linux and OSX builds.
parents
35ba8d1f
91031185
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
2 deletions
+27
-2
.travis.yml
.travis.yml
+17
-0
appveyor.yml
appveyor.yml
+5
-0
http.c++
c++/src/kj/compat/http.c++
+2
-2
super-test.sh
super-test.sh
+3
-0
No files found.
.travis.yml
0 → 100644
View file @
ec794aee
language
:
cpp
os
:
-
linux
-
osx
dist
:
trusty
sudo
:
false
addons
:
apt
:
packages
:
-
automake
-
autoconf
-
libtool
-
pkg-config
before_install
:
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install automake autoconf libtool; fi
script
:
./super-test.sh -j2 quick
# limit parallelism due to limited memory on Travis
appveyor.yml
View file @
ec794aee
...
...
@@ -13,6 +13,11 @@
version
:
"
{build}"
branches
:
only
:
-
master
# Don't build non-master branches (unless they open a pull request).
image
:
Visual Studio 2017
# AppVeyor build worker image (VM template).
...
...
c++/src/kj/compat/http.c++
View file @
ec794aee
...
...
@@ -694,7 +694,7 @@ kj::String HttpHeaders::serialize(kj::ArrayPtr<const char> word1,
}
kj
::
String
HttpHeaders
::
toString
()
const
{
return
serialize
(
nullptr
,
nullptr
,
nullptr
,
{}
);
return
serialize
(
nullptr
,
nullptr
,
nullptr
,
ConnectionHeaders
()
);
}
// =======================================================================================
...
...
@@ -1528,7 +1528,7 @@ public:
};
}
else
{
KJ_FAIL_REQUIRE
(
"received invalid HTTP response"
)
{
break
;
}
return
{}
;
return
HttpClient
::
Response
()
;
}
});
...
...
super-test.sh
View file @
ec794aee
...
...
@@ -13,6 +13,9 @@ PARALLEL=$(nproc 2>/dev/null || echo 1)
while
[
$#
-gt
0
]
;
do
case
"
$1
"
in
-j
*
)
PARALLEL
=
${
1
#-j
}
;;
test
)
;;
# nothing
quick
)
...
...
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