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
31113b4f
Commit
31113b4f
authored
Jul 11, 2014
by
Milo Yip
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #65 from pah/travis-ci
travis-ci.org: improve config, debug GH_TOKEN issue
parents
e440b695
33da6610
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
.travis.yml
.travis.yml
+10
-8
travis-doxygen.sh
build/travis-doxygen.sh
+5
-1
No files found.
.travis.yml
View file @
31113b4f
...
...
@@ -6,10 +6,12 @@ compiler:
env
:
matrix
:
-
config=debug64 config_suffix=debug_x64_gmake
-
config=release64 config_suffix=release_x64_gmak
e
-
CONF=debug
-
CONF=releas
e
global
:
secure
:
"
CR3yKliFhwQLX+Zs1PCRcGej6jr4DIZsCqs9x6J2NN+U9Aow0gd/uiPBho/utgm+/TmSBji5n8FO/J3ORo34q4gC6EebTEaN4gCHNXVlIBJFw9x+Gs/lML5i8F2AoweFJY334OVaOf9qC8ZVJ8Z1nEwxj77fq3gcSLzRU3pIaS8="
# prepare for 32/64 bit multi-arch support
-
BITS=64
-
secure
:
"
CR3yKliFhwQLX+Zs1PCRcGej6jr4DIZsCqs9x6J2NN+U9Aow0gd/uiPBho/utgm+/TmSBji5n8FO/J3ORo34q4gC6EebTEaN4gCHNXVlIBJFw9x+Gs/lML5i8F2AoweFJY334OVaOf9qC8ZVJ8Z1nEwxj77fq3gcSLzRU3pIaS8="
before_install
:
-
sudo add-apt-repository -y ppa:codegear/release
...
...
@@ -22,11 +24,11 @@ before_script:
-
pushd build && premake4 'gmake' && popd
script
:
-
make -C build/gmake -f test.make
-
make -C build/gmake -f example.make
-
make -C build/gmake -f test.make
config=${CONF}${BITS}
-
make -C build/gmake -f example.make
config=${CONF}${BITS}
-
pushd bin
-
./unittest_${config_suffix}
-
valgrind --leak-check=full --error-exitcode=1 ./unittest_${
config_suffix}
-
if [ "$
config" = "release64" ]; then ./perftest_${config_suffix}
; fi
-
./unittest_${CONF}_x${BITS}_gmake
-
valgrind --leak-check=full --error-exitcode=1 ./unittest_${
CONF}_x${BITS}_gmake
-
if [ "$
CONF" = "release" ]; then ./perftest_${CONF}_x${BITS}_gmake
; fi
-
popd
-
./build/travis-doxygen.sh;
build/travis-doxygen.sh
View file @
31113b4f
...
...
@@ -81,15 +81,19 @@ gh_pages_push() {
# check for secure variables
[
"
${
TRAVIS_SECURE_ENV_VARS
}
"
=
"true"
]
||
\
skip
"Secure variables not available, not updating GitHub pages."
# check for GitHub access token
[
"
${
GH_TOKEN
+set
}
"
=
set
]
||
\
skip
"GitHub access token not available, not updating GitHub pages."
[
"
${#
GH_TOKEN
}
"
-eq
40
]
||
\
abort
"GitHub token invalid: found
${#
GH_TOKEN
}
characters, expected 40."
cd
"
${
TRAVIS_BUILD_DIR
}
/doc/html"
;
# setup credentials (hide in "set -x" mode)
git config core.askpass /bin/true
(
set
+x
;
git config credential.
${
GHPAGES_URL
}
.username
"
${
GH_TOKEN
}
"
)
# push to GitHub
git push origin gh-pages
git push origin gh-pages
||
\
skip
"GitHub pages update failed, temporarily ignored."
}
doxygen_install
...
...
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