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
c1afdc8d
Commit
c1afdc8d
authored
Jul 12, 2014
by
Philipp A. Hartmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis-doxygen.sh: allow overriding GitHub repo from environment
parent
2875b576
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
.travis.yml
.travis.yml
+1
-0
travis-doxygen.sh
build/travis-doxygen.sh
+4
-4
No files found.
.travis.yml
View file @
c1afdc8d
...
...
@@ -9,6 +9,7 @@ env:
-
CONF=debug
-
CONF=release
global
:
-
GITHUB_REPO='miloyip/rapidjson'
# prepare for 32/64 bit multi-arch support
-
BITS=64
-
secure
:
"
HrsaCb+N66EG1HR+LWH1u51SjaJyRwJEDzqJGYMB7LJ/bfqb9mWKF1fLvZGk46W5t7TVaXRDD5KHFx9DPWvKn4gRUVkwTHEy262ah5ORh8M6n/6VVVajeV/AYt2C0sswdkDBDO4Xq+xy5gdw3G8s1A4Inbm73pUh+6vx+7ltBbk="
...
...
build/travis-doxygen.sh
View file @
c1afdc8d
...
...
@@ -10,8 +10,8 @@ DOXYGEN_TAR=${DOXYGEN_VER}.linux.bin.tar.gz
DOXYGEN_URL
=
"http://ftp.stack.nl/pub/users/dimitri/
${
DOXYGEN_TAR
}
"
DOXYGEN_BIN
=
"/usr/local/bin/doxygen"
GHPAGES_REPO
=
"miloyip/rapidjson"
G
HPAGES_URL
=
"https://github.com/
${
GHPAGES
_REPO
}
"
:
${
GITHUB_REPO
:
=
"miloyip/rapidjson"
}
G
ITHUB_URL
=
"https://github.com/
${
GITHUB
_REPO
}
"
skip
()
{
echo
"
$@
"
1>&2
...
...
@@ -61,7 +61,7 @@ gh_pages_prepare()
cd
"
${
TRAVIS_BUILD_DIR
}
/doc"
;
[
!
-d
"html"
]
||
\
abort
"Doxygen target directory already exists."
git clone
--single-branch
-b
gh-pages
${
G
HPAGES
_URL
}
html
git clone
--single-branch
-b
gh-pages
${
G
ITHUB
_URL
}
html
cd
html
# setup git config (with defaults)
git config user.name
"
${
GIT_NAME
-travis
}
"
...
...
@@ -90,7 +90,7 @@ gh_pages_push() {
cd
"
${
TRAVIS_BUILD_DIR
}
/doc/html"
;
# setup credentials (hide in "set -x" mode)
git config core.askpass
'bash -c ":"'
(
set
+x
;
git config credential.
${
G
HPAGES
_URL
}
.username
"
${
GH_TOKEN
}
"
)
(
set
+x
;
git config credential.
${
G
ITHUB
_URL
}
.username
"
${
GH_TOKEN
}
"
)
# push to GitHub
git push origin gh-pages
||
\
skip
"GitHub pages update failed, temporarily ignored."
...
...
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