This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
/
.travis.yml
48 lines (42 loc) · 1.95 KB
/
.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
40
41
42
43
44
45
46
47
48
if: branch !~ /^docs/
language: java
dist: trusty
jdk:
- oraclejdk8
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'
addons:
browserstack:
username: "michakrzyanowski1"
access_key:
secure: "nMIQLjaeC/CAFoplQRIXe01hWjorN98Yhe7AfB24Hs9DCtujJaW9eNBN4Hrku4bp7EuMrLpPcNqpcntOGU3XBf+W93A5iM0zeiuwEMmHDf/KrHr+PPD5glpcuK0f5PT9s7muQOFRpbO2R1k+oKZImpkVwdpFYgTKwO8gUcoZReV8GquPtX8gP9KMj21m7ZaDKnhvWnCflomdOlu40KRRjH0ebfo/hyMRtDgbZ5ov2jM7xy3gHCRXNYy1k3Sx4RId2f00qiMirqKW5dQKOgtQ4dowpHTIh/D6WSeQj/mPDtEyhY503bKeSgUp6HmxFckyK9ox6INnLCIETLQljNDoEPWed6QxPecvzYVle2Ln+LS4iG+dbgRwp58CDdACot6Fsi9UPM2fbqnTHdfmBsgBU7ZUEpyOrxtlkWx3Be/89AgPjqBvc1bfwaA1hs1fQGe8J5qD5ZioSsWchcVOxtdPD9Z1UWx5oo3T+SgBp1V/iUQfz7fxVPnCdlWf1A/3b6eKRnysOPuxColrYd9M2MGsMhfNOO9mRNGIhAwezifPSo5ilyoXtAOwJQf1VjcJoepkg/jNEt/WAdocCof4vgHno/HEfLf1hW7zP/Fs695QQfRNRR1Q3d5VbzwCylYv5W1CCvx0HLchrhPdQsTWVlJUIlsEZW2dSlfPX1a3aGRNQeE="
env:
- OS=Windows OS_VER=10 BROWSER=Chrome
- OS=Windows OS_VER=10 BROWSER=Edge
- OS=Windows OS_VER=10 BROWSER=IE
- OS='OS X' OS_VER='Mojave' BROWSER=Safari
- OS_VER='12' WEBDRIVER_TYPE=ios DEVICE="iPhone XR"
- OS_VER='9.0' WEBDRIVER_TYPE=android DEVICE="Samsung Galaxy S9 Plus"
matrix:
include:
- name: "Tests - local FF / SonarCloud"
addons:
firefox: "latest"
sonarcloud:
organization: "bobcat-github"
token:
secure: $SONAR_TOKEN
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver-v0.24.0-linux64.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
script:
- mvn clean test sonar:sonar -Dwebdriver.type=firefox -Dwebdriver.firefox.bin="$(which firefox)"
script:
- ./run_browserstack_tests.sh