mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
build - Install doxygen manually (for correct version)
This commit is contained in:
parent
c23df90ba5
commit
a21ce80deb
3 changed files with 8 additions and 9 deletions
|
@ -8,13 +8,11 @@ env:
|
||||||
global:
|
global:
|
||||||
- BITCOINORG_BUILD_TYPE=deployment
|
- BITCOINORG_BUILD_TYPE=deployment
|
||||||
- DOXYFILE: $TRAVIS_BUILD_DIR/doxygen/Doxyfile-dashdocs
|
- DOXYFILE: $TRAVIS_BUILD_DIR/doxygen/Doxyfile-dashdocs
|
||||||
#- GH_REPO_NAME: <your_repo>
|
|
||||||
#- GH_REPO_REF: github.com/<your_name>/<your_repo>.git
|
|
||||||
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- gem update --system
|
- gem update --system
|
||||||
- gem install bundler
|
- gem install bundler
|
||||||
|
- ./install-doxygen.sh
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
addons:
|
addons:
|
||||||
|
@ -44,8 +42,5 @@ deploy:
|
||||||
# Generate and deploy documentation
|
# Generate and deploy documentation
|
||||||
after_success:
|
after_success:
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
- ls
|
|
||||||
- echo $DOXYFILE
|
|
||||||
- pwd
|
|
||||||
- chmod +x scripts/generateDocumentationAndDeploy.sh
|
- chmod +x scripts/generateDocumentationAndDeploy.sh
|
||||||
- ./scripts/generateDocumentationAndDeploy.sh
|
- ./scripts/generateDocumentationAndDeploy.sh
|
||||||
|
|
|
@ -43,6 +43,7 @@ set -e
|
||||||
git clone https://github.com/dashpay/dash.git
|
git clone https://github.com/dashpay/dash.git
|
||||||
cd dash
|
cd dash
|
||||||
|
|
||||||
|
# Copy Doxygen config / build files
|
||||||
cp $TRAVIS_BUILD_DIR/doxygen/* doc/
|
cp $TRAVIS_BUILD_DIR/doxygen/* doc/
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -54,8 +55,6 @@ doxygen $DOXYFILE 2>&1 | tee doxygen.log
|
||||||
echo 'Done generating Doxygen code documentation...'
|
echo 'Done generating Doxygen code documentation...'
|
||||||
#cat doxygen.log
|
#cat doxygen.log
|
||||||
|
|
||||||
ls doc/
|
|
||||||
|
|
||||||
# Copy Doxygen files to dash-docs folder
|
# Copy Doxygen files to dash-docs folder
|
||||||
echo 'Copy Doxygen files to _site...'
|
echo 'Copy Doxygen files to _site...'
|
||||||
cp -R doc/doxygen $TRAVIS_BUILD_DIR/_site/en/
|
cp -R doc/doxygen $TRAVIS_BUILD_DIR/_site/en/
|
||||||
|
|
5
scripts/install-doxygen.sh
Normal file
5
scripts/install-doxygen.sh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -ex
|
||||||
|
wget http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.14.linux.bin.tar.gz
|
||||||
|
tar -xzvf doxygen-1.8.14.linux.bin.tar.gz
|
||||||
|
cd doxygen-1.8.14 && ./configure && make install
|
Loading…
Add table
Add a link
Reference in a new issue