1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

travis docker environment compatibility

This commit is contained in:
Paul Rogalinski 2015-07-10 19:52:47 +02:00
parent 52fe86e66d
commit f27be21076
3 changed files with 19 additions and 12 deletions

View file

@ -29,15 +29,13 @@ if [ $RUNTESTS ] ; then
elif [ $PUBLISHDOCS ] ; then
if [ $PUBLISH_URL ] ; then
sudo apt-get install zlib1g-dev libssl-dev wkhtmltopdf libxml2-dev libxslt-dev #ruby-rvm
# Patch Gimli to fix underscores_inside_words
curl -L "${CURL_BASEOPTS[@]}" https://github.com/walle/gimli/archive/v0.5.9.tar.gz | tar zxf -
sed -i 's/).render(/, :no_intra_emphasis => true).render(/' gimli-0.5.9/ext/github_markup.rb
cd gimli-0.5.9/
gem build gimli.gemspec && rvmsudo gem install gimli
gem build gimli.gemspec && gem install gimli
cd ../
./build_docs.sh