forked from consolidation/robo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (45 loc) · 1.19 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
dist: trusty
language: php
branches:
# Only test the master branch and SemVer tags.
only:
- master
- /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/
matrix:
fast_finish: true
include:
- php: 7.2
env: 'SCENARIO=symfony4 DEPENDENCIES=highest'
- php: 7.1
env: 'SCENARIO=symfony4'
- php: 7.0.11
env: 'DEPENDENCIES=highest'
- php: 7.0.11
- php: 5.6
- php: 5.6
env: 'DEPENDENCIES=lowest'
- php: 5.5
env: 'SCENARIO=symfony2 DEPENDENCIES=lowest'
sudo: false
cache:
directories:
- $HOME/.composer/cache
install:
- 'composer scenario "${SCENARIO}" "${DEPENDENCIES}"'
script:
- composer test
after_success:
- travis_retry php vendor/bin/coveralls -v
# Prior to a deploy, build a fresh robo.phar
before_deploy:
- ./robo phar:build
# Deploy instructions set up via `travis setup releases` per
# https://docs.travis-ci.com/user/deployment/releases
deploy:
provider: releases
api_key:
secure: EdmB1nW5gj5nggYfmHv20enSgvRIAl1PIWV5GKmkxAJwuummh3UqdI7z0ecTGdw2IBgJx9lizNvqhcWjXbpNhE9VaaT1sHFCKv4Zust6sLb9bneK3oLRdJk2wemfrrZQpdH900zA0o7b3CHVth8UhkrCB4FXVDjUW13K061EXG8=
file: robo.phar
skip_cleanup: true
on:
tags: true