forked from cacoco/heroku-buildpack-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (22 loc) · 919 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
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: eval $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"
- secure: "g66sU88ctjlHwmfFFn/+GfXbPjz2i/iegxkqB6qWIkRISG/S55IWsQe2QMzyC4w6QmtiVsxXBz1YEsUDQPbvfuFzxMU+dFIo6Hwv0IxXYI0qfVvE4xUfG6Dls1pilj1NNFFu4rBbXHN+fr1gwAb1InRj1wPvoauv0h+dbUnvGtY="
matrix:
- TEST_CMD='[ "$TRAVIS_PULL_REQUEST" = "false" ] && mvn verify || true'
- TEST_CMD="/tmp/testrunner/bin/run -c ."