language: java
jdk: oraclejdk8
sudo: false
dist: trusty
install: true

addons:
    firefox: latest

install:
    - sudo apt-add-repository "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main"
    - sudo sed -i s/deb-src.*google.*//g /etc/apt/sources.list
    - wget -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
    - sudo apt-get update -qq
    - sudo apt-get install -y google-chrome-stable

before_script:
    - export DISPLAY=:99.0
    - sh -e /etc/init.d/xvfb start &
    - sleep 3

script:
    - gradle -v && gradle test

language: java
sudo: false
dist: trusty
install: true

addons:
    firefox: latest

install:
    - sudo apt-add-repository "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main"
    - sudo apt-add-repository "ppa:cwchien/gradle"
    - sudo sed -i s/deb-src.*google.*//g /etc/apt/sources.list
    - wget -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
    - sudo apt-get update -qq
    - sudo apt-get install -y google-chrome-stable travis

before_script:
    - export DISPLAY=:99.0
    - sh -e /etc/init.d/xvfb start &
    - sleep 3

script:
    - gradle -v && gradle test

Update Gradle again in Travis configuration
Update Gradle again in Travis configuration
