15 Commits

Author SHA1 Message Date
Philipp A. Hartmann
8d8ce9e9c5 travis-doxygen.sh: don't ignore Doxygen push error 2014-07-13 11:54:24 +02:00
Philipp A. Hartmann
03834b5980 travis-doxygen.sh: directly setup .git-credentials
Instead of fiddling with the non-working GIT_ASKPASS/core.askpass
setup, simply store the required Git credentials directly in
~/.git-credentials, which is used by Git's "store" credential helper.

Works on https://travis-ci.org/pah/rapidjson.
2014-07-13 11:49:53 +02:00
Philipp A. Hartmann
4dafa2ac42 travis-doxygen.sh: try to explicitly implement an empty GIT_ASKPASS 2014-07-13 11:49:45 +02:00
Philipp A. Hartmann
c1afdc8df2 travis-doxygen.sh: allow overriding GitHub repo from environment 2014-07-12 19:58:52 +02:00
Philipp A. Hartmann
2875b57616 Revert "Travis config trial: git config --global"
Avoids messing with global config when running the script
manually on a developer machine.

This reverts commit 6225092355e3087c3e73928f54cc1073c55067d6.
2014-07-12 19:58:52 +02:00
Philipp A. Hartmann
4575f93431 MacOS X doesn't have '/bin/true' 2014-07-12 19:58:52 +02:00
Milo Yip
6225092355 Travis config trial: git config --global 2014-07-12 18:42:26 +08:00
Milo Yip
ca05d85183 Revert "Travis config trial: using original name/email"
This reverts commit ded7dc723d0609111f5c2df0ff32eeaf0894b2d9.
2014-07-12 18:34:29 +08:00
Milo Yip
ded7dc723d Travis config trial: using original name/email 2014-07-12 18:30:19 +08:00
Philipp A. Hartmann
33da6610f9 travis-doxygen.sh: temporarily ignore failing GH page update 2014-07-11 13:29:50 +02:00
Philipp A. Hartmann
5050f18743 travis-doxygen.sh: add GH_TOKEN sanity check 2014-07-11 13:20:18 +02:00
Philipp A. Hartmann
72d0d42a1f travis-doxygen.sh: avoid leaking the GitHub token in build log 2014-07-09 18:24:13 +02:00
Philipp A. Hartmann
b3665606a9 fixup travis doxygen build 2014-07-09 08:01:25 +02:00
miloyip
a5b39958ea Adding git config in travis doxygen 2014-07-09 13:21:07 +08:00
Philipp A. Hartmann
7c7eb1c5c0 Travis CI: build/update Doxygen from separate script
In this patch, a script 'build/travis-doxygen.sh' is added to
build and push the Doxygen documentation to the GitHub pages at
https://miloyip.githib.io/rapidjson.

The script exits gracefully, if the build is requested for
 - a branch other than 'master'
 - a pull-request
 - a job (i.e. CI configuration) other than "1"

In case the "secure variables" are not available, only the final upload
is skipped, in order to allow testing of the script's basic functionality.

Update .travis.yml to call the script.
2014-07-08 18:56:07 +02:00