forked from heroku/heroku-buildpack-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 1.25 KB
/
.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
30
31
32
33
34
35
language: generic
dist: xenial
sudo: false
before_install:
- gem install bundler
install:
- bundle install
before_script:
- bundle exec hatchet ci:setup
script: bundle exec parallel_rspec -n6 test/spec/
after_script:
- bundle exec hatchet destroy --all
env:
global:
- HATCHET_RETRIES=3
- IS_RUNNING_ON_CI=true
- HATCHET_APP_LIMIT=80
- HEROKU_APP_LIMIT=9999
- HATCHET_DEPLOY_STRATEGY=git
- HATCHET_BUILDPACK_BASE="https://github.com/heroku/heroku-buildpack-php"
- HATCHET_APP_PREFIX="htcht-${TRAVIS_JOB_ID}-"
matrix:
include:
- env: STACK=cedar-14
if: branch = master OR tag IS present
- env: STACK=heroku-16
if: branch = master OR tag IS present
- env: STACK=heroku-18
if: branch = master OR tag IS present
- env: STACK=cedar-14 HEROKU_PHP_PLATFORM_REPOSITORIES="- https://lang-php.s3.amazonaws.com/dist-cedar-14-develop/"
if: branch != master AND tag IS blank
- env: STACK=heroku-16 HEROKU_PHP_PLATFORM_REPOSITORIES="- https://lang-php.s3.amazonaws.com/dist-heroku-16-develop/"
if: branch != master AND tag IS blank
- env: STACK=heroku-18 HEROKU_PHP_PLATFORM_REPOSITORIES="- https://lang-php.s3.amazonaws.com/dist-heroku-18-develop/"
if: branch != master AND tag IS blank