Skip to content

Commit

Permalink
Added deploy hook
Browse files Browse the repository at this point in the history
  • Loading branch information
windelbouwman committed Oct 3, 2014
1 parent 4591056 commit b27203a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
src
docs
build
docs.zip

21 changes: 13 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@

install:
- sudo apt-get update
- sudo apt-get install qt4-dev-tools python-numpy python-scipy
- sudo apt-get install python-sphinx python-matplotlib zip
- sudo apt-get install python-sympy python-qt4 xvfb
- sudo pip install numpydoc
- sudo apt-get update
- sudo apt-get install qt4-dev-tools python-numpy python-scipy
- sudo apt-get install python-sphinx python-matplotlib zip
- sudo apt-get install python-sympy python-qt4 xvfb
- sudo pip install numpydoc
script:
- ./make_docs.sh
# - ./shoot.sh
- "./make_docs.sh"
deploy:
provider: releases
api_key:
secure: A1pynyS/r9I4knyamF0CqFeErqK7A0pnZjrONdzvKEs6RccqcmeN9doa9tJSUdQ1SwOHLXoK6CA4ASsugbeZMrebKixaqBs3IXqCX/iybKbl1vLc1hQVy7ODi97TDbVekWLe7n0iIdmXgUieIGr2TafAq1oiN2diFnIqcTLTKNU=
file: docs.zip
on:
repo: windelbouwman/qthelpdocs
11 changes: 7 additions & 4 deletions make_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ mkdir -p docs

set +e

find . -maxdepth 1 -name gen_\*.sh | while read line; do
echo "Generating using file $line"
$BASH $line
done
#find . -maxdepth 1 -name gen_\*.sh | while read line; do
# echo "Generating using file $line"
# $BASH $line
#done

# For test with travis:
$BASH gen_python.sh

set -e

Expand Down

0 comments on commit b27203a

Please sign in to comment.