Skip to content

Commit

Permalink
updated .travis.yml [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
rdhyee-GITenberg committed Mar 9, 2016
1 parent c05db3b commit a24e030
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ script:
- /usr/bin/python asciidoctor-htmlbook/gitberg-machine/machine.py -o . -m metadata.yaml book.html
- xsltproc -stringparam external.assets.list " " ./HTMLBook/htmlbook-xsl/epub.xsl book.html
- cp ./HTMLBook/stylesheets/epub/epub.css OEBPS
- cp cover.jpg OEBPS/cover.jpg
- if [ -e cover.jpg ]; then cp cover.jpg OEBPS/cover.jpg; fi
# look for first images directory and one found, copy over to ./OEBPS
- find . -name images -type d | head -n 1 | xargs -I {} mv {} ./OEBPS/
- zip -rX book.epub mimetype
- zip -rX book.epub OEBPS/ META-INF/
- if test -d "OEBPS/images/"; then zip -rX book.epub OEBPS/images/ ;fi
- mv book.epub Heart-of-Darkness.epub
- ebook-convert Heart-of-Darkness.epub Heart-of-Darkness.mobi
- xvfb-run ebook-convert Heart-of-Darkness.epub Heart-of-Darkness.pdf
branches:
only:
- master
Expand All @@ -43,10 +45,15 @@ deploy:
provider: releases
api_key:
secure: 0VRHJvBie6DhTdH+tHinUSj28yETRSmk679N71Df0JAVitgCXPWgkjcd+sLU898Cz+O5FQkmiGzqvhpMuFftGUb4TaVi33b3cFH1OYkWOlRHNCXiSHYdLIV723ZI78njum9yEIYsAPlnIo0v3xF/PIv7nMxsY+rwF5+n5XIG9iYxS4Y1WZxmgKwCZ/ERG4yql87cQ+efdS+gjeyUxvCHXPsWNVesrRQXqv4uSQvlzg4KTDhb9t4Oq6BIAdJtgy3nxh4tRNWulVe7jTuVsAmsO0kDscxnC/gZ7dgCF+YYX1JkSp6HjR9cwj1m19eccCAQVSa09UReHV6dLBLeZ6K7zqOL1XFNJtr8LxD7vI8K6kDvTdeLvqbl0ceNvMRfAXHcAXk17opmuf0HCmMhC0HtKkpTtJqALFFJaqKwRNqVmAAaKlzAY4d2oYDVM7lGEZ0QvxtZVVCHFuQazdb8gSfLpm6sGmXknnm+kDalOJGQxa+++tCqlNuI9VsO+7BKOIwVhebcQaOr4EybF/5BYHlNNlzqbgIiG/lTCsRgfyX5pyEjv0nPSztiI8pluhnQIDt+t4Vu1nnaPt8M3qeYbQDtEuFH6bhD2tq0fvT9+hcPIyMZdqaXRVTL22emSJH4i5RsjGzBAXoklVh52Cymahnkx4xHT8K8M035gd0pv84mTlk=
file: Heart-of-Darkness.epub
file:
- Heart-of-Darkness.epub
- Heart-of-Darkness.mobi
- Heart-of-Darkness.pdf
"on":
repo: GITenberg/Heart-of-Darkness_219
addons:
apt:
packages:
- xsltproc
- xsltproc
- xvfb
- calibre

0 comments on commit a24e030

Please sign in to comment.