-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (23 loc) · 885 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
language: java
branches:
only:
- master
before_install:
- curl --silent https://shunit2.googlecode.com/files/shunit2-2.1.6.tgz | tar xz -C /tmp/
- git clone https://github.com/ryanbrainard/heroku-buildpack-testrunner.git /tmp/testrunner
- ./etc/hatchet_travis_setup.sh
install: true
script: $TEST_CMD
after_script: heroku keys:remove ~/.ssh/id_rsa
env:
global:
- IS_RUNNING_ON_TRAVIS=true
- HATCHET_RETRIES=3
- HATCHET_DEPLOY_STRATEGY=git
- HATCHET_BUILDPACK_BASE="https://github.com/heroku/heroku-buildpack-java.git"
- SHUNIT_HOME="/tmp/shunit2-2.1.6"
# HEROKU_API_KEY
- secure: RrlqbcEpNVu4Eo+Ay/gic/I9o1MyWwtO7LZwuRJIFz++67V5TDVGvrH/muHTPyI4gZup5sKYm17PlgxWEGO+nlMsuXodoUDhIdy/q080zO+OuWmOWfovEdTvvvfen0/SCnV8AdH2ujuFcawaZXti2fu5AWy01B1O5y04/pzyHyM=
matrix:
- TEST_CMD="mvn verify"
- TEST_CMD="/tmp/testrunner/bin/run -c ."