language: ruby
cache:
  apt: true
  directories:
    - vendor/bundle
    - $HOME/.cache/pip
python:
  - 2.7
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.0
  - jruby-1.7.19
before_install:
  - gem update --system
  - gem --version
  - gem install bundler
  - sudo apt-get update -qq
  - wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
  - tar jxf phantomjs-2.1.1-linux-x86_64.tar.bz2
  - export PHANTOMJS_2=$PWD/phantomjs-2.1.1-linux-x86_64/bin/phantomjs
  - wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
  - tar jxf phantomjs-1.9.8-linux-x86_64.tar.bz2
  - export PHANTOMJS_19=$PWD/phantomjs-1.9.8-linux-x86_64/bin/phantomjs
install:
  - sudo apt-get install -qq graphviz
  - sudo apt-get install -qq python-gtk2
  - pip install --user blockdiag actdiag seqdiag nwdiag
  - pip install --user shaape
  - bundle install --path vendor/bundle --jobs=3 --retry=3
  - npm install -g mermaid
  - npm install -g wavedrom-cli
  - sudo apt-get install -qq imagemagick

language: ruby
cache:
  apt: true
  directories:
    - vendor/bundle
    - $HOME/.cache/pip
python:
  - 2.7
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.0
  - jruby-1.7.19
before_install:
  - gem update --system
  - gem --version
  - gem install bundler
  - sudo apt-get update -qq
install:
  - sudo apt-get install -qq graphviz
  - sudo apt-get install -qq python-gtk2
  - pip install --user blockdiag actdiag seqdiag nwdiag
  - pip install --user shaape
  - bundle install --path vendor/bundle --jobs=3 --retry=3
  - npm install -g mermaid
  - npm install -g wavedrom-cli
  - sudo apt-get install -qq imagemagick

Remove direct download of PhantomJS on Travis. The HTTP requests typically result in 403 errors.
Remove direct download of PhantomJS on Travis.
The HTTP requests typically result in 403 errors.
