forked from fhoeben/hsac-fitnesse-fixtures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (21 loc) · 793 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
language: java
jdk:
- openjdk8
addons:
chrome: stable
dist: xenial
sudo: required
matrix:
fast_finish: true
allow_failures:
- env: TEST_TYPE=examples CAPA="browserName:chrome,platform:Windows 10,screenResolution:1680x1050"
env:
- TEST_TYPE=acceptance-test
- TEST_TYPE=examples CAPA="browserName:chrome,platform:Windows 10,screenResolution:1680x1050"
cache:
directories:
- $HOME/.m2
script:
- travis_wait 90 ./travis_build_and_test.sh
after_success:
- "[[ \"${TRAVIS_PULL_REQUEST}\" == \"false\" && \"${TRAVIS_BRANCH}\" == \"master\" && \"${TEST_TYPE}\" == \"acceptance-test\" ]] && { ./travis_publish_results.sh target/*.zip hsac-fitnesse-fixtures-snapshot-standalone.zip; python travis_add_server.py; mvn -DskipTests deploy --settings ~/.m2/mySettings.xml; };"