-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
26 lines (26 loc) · 940 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
language: bash
sudo: true
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/heroku/heroku-buildpack-testrunner.git /tmp/testrunner
- gem install heroku_hatchet -v 1.4.1
- gem install rspec -v 3.3.0
- gem install rspec-retry -v 0.4.2
- sh 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-jvm-common.git"
- SHUNIT_HOME="/tmp/shunit2-2.1.6"
- secure: CivrAWgOXBgCy6xW0rDFCMB4MX1vaJmZ5tECA8P7T4vNHjdBRyKqrDMFsQMOD3g9RSqCSkzXvnXzlFrl9DtMuYA/bALEJh0yd0nYaCbru0oL2QsrOFoO5tKy7Z9Fvn/3vCbsNS/KeJvUxfBBf2zbfr94uPMsGYYA/oEj2CzmWGU=
matrix:
- TEST_CMD="sh etc/hatchet-test.sh"
- TEST_CMD="/tmp/testrunner/bin/run -c ."