language: generic
dist: trusty
addons:
  apt:
    packages:
      - openjdk-7-jdk
      - python3.4-dev
      - python3.4-venv
env:
  - PLAY_VERSION=2.2.1
before_script:
  - wget http://downloads.typesafe.com/play/${PLAY_VERSION}/play-${PLAY_VERSION}.zip
  - unzip -q play-${PLAY_VERSION}.zip
  - python3 -m venv --system-site-packages ./venv
  - . ./venv/bin/activate
  - python3 -m pip install --upgrade pip setuptools
  - pip install WeasyPrint
script:
  - yes "q" | play-${PLAY_VERSION}/play jacoco:cover coveralls
  - curl -v --form json_file=@target/coveralls.json https://coveralls.io/api/v1/jobs || true
notifications:
  email:
    recipients:
      - t.dettrick@uq.edu.au
      - a.gebers@uq.edu.au
    on_success: change
    on_failure: always

language: generic
dist: trusty
addons:
  apt:
    packages:
      - openjdk-7-jdk
      - python3.4-dev
      - python3.4-venv
env:
  - ACTIVATOR_VERSION=1.3.12
before_script:
  - wget https://downloads.typesafe.com/typesafe-activator/${ACTIVATOR_VERSION}/typesafe-activator-${ACTIVATOR_VERSION}-minimal.zip
  - unzip -q typesafe-activator-${ACTIVATOR_VERSION}-minimal.zip
  - python3 -m venv --system-site-packages ./venv
  - . ./venv/bin/activate
  - python3 -m pip install --upgrade pip setuptools
  - pip install WeasyPrint
script:
  - yes "q" | activator-${ACTIVATOR_VERSION}-minimal/bin/activator jacoco:cover coveralls
  - curl -v --form json_file=@target/coveralls.json https://coveralls.io/api/v1/jobs || true
notifications:
  email:
    recipients:
      - t.dettrick@uq.edu.au
      - a.gebers@uq.edu.au
    on_success: change
    on_failure: always

Use activator for Travis CI build
Use activator for Travis CI build
