dist: trusty

language: java
jdk:
  - oraclejdk8

services:
  - postgresql

addons:
  postgresql: "9.6"

install:
  - google-chrome --version
  - npm install

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - psql -c 'create database "treeline-test";' -U postgres
  - npm run build
  - ./gradlew bootRun -Dspring.profiles.active=test &
  - sleep 190

script:
  - npm run test-jsu
  - npm run test-e2e
dist: trusty

language: java
jdk:
  - oraclejdk8

services:
  - postgresql

addons:
  postgresql: "9.6"

install:
  - npm install

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - psql -c 'create database "treeline-test";' -U postgres
  - npm run build
  - ./gradlew bootRun -Dspring.profiles.active=test &
  - sleep 190

script:
  - npm run test-jsu
  - npm run test-e2e
Stop printing chrome version on Travis CI
Stop printing chrome version on Travis CI
