-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (36 loc) · 1003 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
service:
- docker
env:
global:
- TERM=dumb
language: java
jdk: oraclejdk8
addons:
apt:
update: true
packages:
- libappindicator1
- fonts-liberation
- wget
- bash
- docker-ce
install: true
before_script:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb >/dev/null
- sudo dpkg -i google-chrome*.deb >/dev/null
script:
#- ./gradlew -S clean test headless chrome >/dev/null
- ./gradlew -S clean test chrome
#- ./gradlew -S clean check headful phantomjs
- ./gradlew clean
- ./gradlew --stop
- docker build --no-cache --force-rm -t e2e-tests .
- docker run --rm --name run-e2e-tests e2e-tests
- mkdir -p ~/.gradle/caches/modules-2/files-2.1 ~/.m2/repository
- docker run --rm --name run-e2e-tests
-v ~/.m2/repository:/home/e2e/.m2/repository
-v ~/.gradle/caches/modules-2/files-2.1:/home/e2e/.gradle/caches/modules-2/files-2.1
e2e-tests