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
40043080
Commit
40043080
authored
Jul 08, 2014
by
Milo Yip
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #52 from miloyip/TravisDoxygen
Travis doxygen
parents
8d612570
a0e2a1e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
1 deletion
+40
-1
.travis.yml
.travis.yml
+40
-1
No files found.
.travis.yml
View file @
40043080
...
@@ -5,8 +5,11 @@ compiler:
...
@@ -5,8 +5,11 @@ compiler:
-
gcc
-
gcc
env
:
env
:
matrix
:
-
config=debug64 config_suffix=debug_x64_gmake
-
config=debug64 config_suffix=debug_x64_gmake
-
config=release64 config_suffix=release_x64_gmake
-
config=release64 config_suffix=release_x64_gmake
global
:
secure
:
HAEPpA7IxUd+X4X5VcUpSxWf3hDRDNgNpKQrRSX/X/nS0/h5PAwES7fmM6WJAsoEmczCp3OOArzyOON+KLbISvJLnHvnexd+rtyVjU2zOOVTEgzJRdAPHwocqVx5FOxtlKgbDISE6dl3H5aUCycf962jfquhKosi11rbxwcscmc=
before_install
:
before_install
:
-
sudo add-apt-repository -y ppa:codegear/release
-
sudo add-apt-repository -y ppa:codegear/release
...
@@ -26,4 +29,40 @@ script:
...
@@ -26,4 +29,40 @@ script:
-
cd bin
-
cd bin
-
./unittest_${config_suffix}
-
./unittest_${config_suffix}
-
valgrind --leak-check=full --error-exitcode=1 ./unittest_${config_suffix}
-
valgrind --leak-check=full --error-exitcode=1 ./unittest_${config_suffix}
-
./perftest_${config_suffix}
-
if [ "$config" = "release64" ]; then ./perftest_${config_suffix}; fi
after_success
:
# Build latest doxygen from source
# - if [ "$config" = "release64" -a "$CC" = "clang" ]; then cd /tmp; fi
# - if [ "$config" = "release64" -a "$CC" = "clang" ]; then git clone https://github.com/doxygen/doxygen.git; fi
# - if [ "$config" = "release64" -a "$CC" = "clang" ]; then cd doxygen; fi
# - if [ "$config" = "release64" -a "$CC" = "clang" ]; then ./configure; fi
# - if [ "$config" = "release64" -a "$CC" = "clang" ]; then make; fi
# - if [ "$config" = "release64" -a "$CC" = "clang" ]; then make distclean; fi
# - if [ "$config" = "release64" -a "$CC" = "clang" ]; then git pull; fi
# - if [ "$config" = "release64" -a "$CC" = "clang" ]; then ./configure; fi
# - if [ "$config" = "release64" -a "$CC" = "clang" ]; then make; fi
# - if [ "$config" = "release64" -a "$CC" = "clang" ]; then sudo make install; fi
# Install doxygen binary distribution
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then cd /tmp; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then wget http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.7.linux.bin.tar.gz; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then tar -xvf doxygen-1.8.7.linux.bin.tar.gz; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then sudo install -m 755 doxygen-1.8.7/bin/doxygen /usr/bin; fi
# Run doxygen
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then cd "${TRAVIS_BUILD_DIR}"; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then doxygen build/Doxyfile; fi
# Push to Github Pages
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then git config --global user.name "${GIT_NAME}"; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then git config --global user.email ${GIT_EMAIL}; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then mkdir build/doc; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then cd build/doc; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then git clone https://github.com/miloyip/rapidjson; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then cd rapidjson; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then git checkout gh-pages; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then cp -r ../../../doc/html/* .; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then git add --all; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then git commit -m "Automatic doxygen build"; fi
-
if [ "$config" = "release64" -a "$CC" = "clang" ]; then git push https://${GH_TOKEN}@github.com/miloyip/rapidjson gh-pages; fi
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