-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
32 lines (26 loc) · 1.03 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
language: java
sudo: required
env:
- USE_LOCAL_DRIVER=true
- USE_REMOTE_DRIVER=true USE_SAUCELABS=true REMOTE_DRIVER_URL=ondemand.saucelabs.com:80/wd/hub
- USE_REMOTE_DRIVER=true USE_CBT=true REMOTE_DRIVER_URL=hub.crossbrowsertesting.com:80/wd/hub
addons:
chrome: stable
before_install:
- rvm install 2.2
- rvm use 2.2
- gem install hiptest-publisher
- hiptest-publisher -c junit-selenium.conf --token=$SECRET_TOKEN --only=tests --test-run-id=101683
- ./run_xvfb.sh
install:
- wget -N https://chromedriver.storage.googleapis.com/2.35/chromedriver_linux64.zip -P ~/
- unzip ~/chromedriver_linux64.zip -d ~/
- rm ~/chromedriver_linux64.zip
- sudo mv -f ~/chromedriver /usr/local/share/
- sudo chmod +x /usr/local/share/chromedriver
- sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
script:
- source set_credentials.sh
- mvn package
after_script:
- hiptest-publisher -c junit-selenium.conf --token=$SECRET_TOKEN -p "target/surefire-reports/TEST-com.coffeemachine.*.xml" --test-run-id=101683