forked from heroku/heroku-buildpack-java
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
22 lines (22 loc) · 862 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
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 $USER@`hostname`
env:
global:
- 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: VFTonrtzbVIepaUGcCnhl3QLjvY1Ujq9+XBAcW3pivMohqFGil86e6Ld1rUNLjewlDspnqCNIT+pdR6mmsEXZD/hDEHWz661EjT2yhVxpCT2izrknnvZTk8ng0bcpFtCZTpLAkm2sNNd+fGiYDCo/QDm1LR3VjqKRm6RUxMoPBM=
matrix:
- TEST_CMD='[ "$TRAVIS_PULL_REQUEST" = "false" ] && mvn verify || true'
- TEST_CMD="/tmp/testrunner/bin/run -c ."