forked from serenity-bdd/serenity-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (22 loc) · 884 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: java
before_install:
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- wget -N http://chromedriver.storage.googleapis.com/2.11/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- chmod +x chromedriver
- sudo mv -f chromedriver /usr/local/share/chromedriver
- sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
- sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver
- sudo apt-get update
- sudo apt-get install unzip
- sudo apt-get install google-chrome-stable
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: gradle clean test integrationTests browserTests
cache:
directories:
- apt
- $HOME/.m2
- $HOME/.gradle
- $HOME/tools