Skip to content

Commit d84c8e3

Browse files
committed
Update to PHP74 travis and simplify matrix.
1 parent 693aef2 commit d84c8e3

File tree

1 file changed

+12
-21
lines changed

1 file changed

+12
-21
lines changed

.travis.yml

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ language: php
22

33
php:
44
- 5.5
5-
- 5.6
6-
- 7.0
7-
- 7.1
8-
- 7.2
9-
- nightly
5+
- 7.3
6+
- 7.4snapshot
7+
8+
services:
9+
- postgresql
10+
- mysql
1011

1112
env:
1213
- DB=agnostic #only database agnostic tests
@@ -18,11 +19,10 @@ install:
1819
- composer install
1920

2021
before_script:
21-
- if [[ $DB != 'agnostic' && $DB != 'sqlite' ]]; then ./tests/bin/setup.$DB.sh; fi
22+
- if [[ $DB != 'agnostic' && $DB != 'sqlite' ]]; then tests/bin/setup.$DB.sh; fi
2223

2324
script:
24-
- ./vendor/bin/phpunit -v -c tests/$DB.phpunit.xml;
25-
25+
- vendor/bin/phpunit -v -c tests/$DB.phpunit.xml;
2626

2727
matrix:
2828
include:
@@ -62,7 +62,7 @@ matrix:
6262
- php: 7.1
6363
env: DB=mysql MARIADB=10.0
6464
addons:
65-
mariadb: 10.0
65+
mariadb: 10.0
6666
- php: 7.2
6767
env: DB=mysql MARIADB=10.0
6868
addons:
@@ -100,7 +100,7 @@ matrix:
100100
- php: 7.2
101101
env: DB=pgsql POSTGRES=9.2
102102
addons:
103-
postgresql: 9.2
103+
postgresql: 9.2
104104

105105
- php: 5.5
106106
env: DB=pgsql POSTGRES=9.3
@@ -143,7 +143,7 @@ matrix:
143143
env: DB=pgsql POSTGRES=9.4
144144
addons:
145145
postgresql: 9.4
146-
146+
147147
- php: 5.5
148148
env: DB=pgsql POSTGRES=9.5
149149
addons:
@@ -164,7 +164,7 @@ matrix:
164164
env: DB=pgsql POSTGRES=9.5
165165
addons:
166166
postgresql: 9.5
167-
167+
168168
- php: 5.5
169169
env: DB=pgsql POSTGRES=9.6
170170
addons:
@@ -185,23 +185,14 @@ matrix:
185185
env: DB=pgsql POSTGRES=9.6
186186
addons:
187187
postgresql: 9.6
188-
189-
190-
allow_failures:
191-
- php: nightly
192188

193189
fast_finish: true
194190

195-
# cache vendors
196191
cache:
197192
directories:
198193
- vendor
199194
- $HOME/.composer/cache
200195

201-
# This triggers builds to run on the new TravisCI infrastructure.
202-
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
203-
sudo: false
204-
205196
notifications:
206197
webhooks:
207198
- http://propel.jarves.io/build.php

0 commit comments

Comments
 (0)