sudo: false
language: python
env: RUNNER=travis
python:
  - "3.4"
before_install:
  - '[ -d .downloads ] || mkdir .downloads'
  - (cd .downloads; [ -d prince-10r3-linux-generic-x86_64 ] || curl -s http://www.princexml.com/download/prince-10r3-linux-generic-x86_64.tar.gz | tar xzf -)
  - echo $PWD | ./.downloads/prince-10r3-linux-generic-x86_64/install.sh
  - bundle install
  - npm install
install: pip install -r requirements/local.txt --download-cache $HOME/.pip-cache
script:
  - ./build.sh
cache:
  directories:
    - /home/travis/virtualenv
    - $HOME/.pip-cache/
    - node_modules
services:
  - redis-server

sudo: false
language: python
env: RUNNER=travis
python:
  - "3.4"
before_install:
  - '[ -d .downloads ] || mkdir .downloads'
  - (cd .downloads; [ -d prince-10r3-linux-generic-x86_64 ] || curl -s http://www.princexml.com/download/prince-10r3-linux-generic-x86_64.tar.gz | tar xzf -)
  - echo $PWD | ./.downloads/prince-10r3-linux-generic-x86_64/install.sh
  - bundle install
  - npm install
install: pip install -r requirements/local.txt --download-cache $HOME/.pip-cache --upgrade
script:
  - ./build.sh
cache:
  directories:
    - /home/travis/virtualenv
    - $HOME/.pip-cache/
    - node_modules
services:
  - redis-server

Add --upgrade to "pip install" on Travis
Add --upgrade to "pip install" on Travis
