forked from web-push-libs/webpush-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (31 loc) · 776 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
language: java
sudo: required
jdk:
- openjdk8
- openjdk11
- oraclejdk8
- oraclejdk11
env:
- JAVA_OPTS=-Dfile.encoding=cp1252
- JAVA_OPTS=-Dfile.encoding=UTF-8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
before_install:
- nvm i node
install:
- npm install github:GoogleChromeLabs/web-push-testing-service -g
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start || echo \"Unable to start virtual display.\""
- sleep 3
script:
- web-push-testing-service start wpts
- ./gradlew clean check
- web-push-testing-service stop wpts
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- ~/.selenium-assistant
- node_modules