Skip to content

Commit

Permalink
re-enable plantuml + cache the download
Browse files Browse the repository at this point in the history
  • Loading branch information
peuter committed Oct 19, 2016
1 parent 27dec4a commit 36892a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Expand Up @@ -8,22 +8,23 @@ cache:
directories:
- node_modules
- $HOME/.cache/pip
- downloads
env:
- CV_BUILD="test"
- CV_BUILD="docs" ENCRYPTION_LABEL="4c79fec0aeb9" COMMIT_AUTHOR_EMAIL="generator@cometvisu.org" CV_BROWSER=Chrome CV_VERSION=stable
before_install:
- nvm install 4.2
- if [ "$CV_BUILD" == "docs" ]; then sudo ./.doc/travis/browser-setup.sh; fi
- if [ "$CV_BUILD" == "docs" ]; then export CHROME_BIN=`pwd`/chrome/google-chrome; fi
#- if [ "$CV_BUILD" == "docs" ]; then wget -O /tmp/plantuml.deb http://yar.fruct.org/attachments/download/362/plantuml_7707-1_all.deb; fi
- if [ "$CV_BUILD" == "docs" ] && ! [ -e downloads/plantuml.deb ]; then wget -O downloads/plantuml.deb http://yar.fruct.org/attachments/download/362/plantuml_7707-1_all.deb; fi
- mkdir cache
install:
- npm install -g grunt-cli
- npm install
- "./node_modules/protractor/bin/webdriver-manager update"
- if [ "$CV_BUILD" == "docs" ]; then sudo pip install -r .doc/requirements.txt; fi # for documentation
- if [ "$CV_BUILD" == "docs" ]; then sudo apt-get install libxml2-dev libxslt-dev graphviz; fi
#- if [ "$CV_BUILD" == "docs" ]; then sudo dpkg -i /tmp/plantuml.deb; fi
- if [ "$CV_BUILD" == "docs" ]; then sudo dpkg -i downloads/plantuml.deb; fi
- if [ "$CV_BUILD" == "docs" ]; then .doc/travis/npm-setup.sh; fi
before_script:
- export DISPLAY=:99.0
Expand Down

0 comments on commit 36892a8

Please sign in to comment.