Skip to content

Commit 897c198

Browse files
authored
Merge pull request #1522 from spryker/php74
Update to PHP74 travis and simplify matrix.
2 parents a8ae112 + 3f4b70c commit 897c198

File tree

1 file changed

+11
-54
lines changed

1 file changed

+11
-54
lines changed

.travis.yml

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

33
php:
4-
- 5.5
54
- 5.6
6-
- 7.0
7-
- 7.1
8-
- 7.2
9-
- nightly
5+
- 7.4
6+
7+
services:
8+
- postgresql
9+
- mysql
1010

1111
env:
1212
- DB=agnostic #only database agnostic tests
@@ -18,18 +18,13 @@ install:
1818
- composer install
1919

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

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

2726
matrix:
2827
include:
29-
- php: 5.5
30-
env: DB=mysql MARIADB=5.5
31-
addons:
32-
mariadb: 5.5
3328
- php: 5.6
3429
env: DB=mysql MARIADB=5.5
3530
addons:
@@ -47,10 +42,6 @@ matrix:
4742
addons:
4843
mariadb: 5.5
4944

50-
- php: 5.5
51-
env: DB=mysql MARIADB=10.0
52-
addons:
53-
mariadb: 10.0
5445
- php: 5.6
5546
env: DB=mysql MARIADB=10.0
5647
addons:
@@ -62,16 +53,12 @@ matrix:
6253
- php: 7.1
6354
env: DB=mysql MARIADB=10.0
6455
addons:
65-
mariadb: 10.0
56+
mariadb: 10.0
6657
- php: 7.2
6758
env: DB=mysql MARIADB=10.0
6859
addons:
6960
mariadb: 10.0
7061

71-
# - php: 5.5
72-
# env: DB=mysql MARIADB=10.1
73-
# addons:
74-
# mariadb: 10.1
7562
# - php: 5.6
7663
# env: DB=mysql MARIADB=10.1
7764
# addons:
@@ -81,10 +68,6 @@ matrix:
8168
# addons:
8269
# mariadb: 10.1
8370

84-
- php: 5.5
85-
env: DB=pgsql POSTGRES=9.2
86-
addons:
87-
postgresql: 9.2
8871
- php: 5.6
8972
env: DB=pgsql POSTGRES=9.2
9073
addons:
@@ -100,12 +83,8 @@ matrix:
10083
- php: 7.2
10184
env: DB=pgsql POSTGRES=9.2
10285
addons:
103-
postgresql: 9.2
86+
postgresql: 9.2
10487

105-
- php: 5.5
106-
env: DB=pgsql POSTGRES=9.3
107-
addons:
108-
postgresql: 9.3
10988
- php: 5.6
11089
env: DB=pgsql POSTGRES=9.3
11190
addons:
@@ -123,10 +102,6 @@ matrix:
123102
addons:
124103
postgresql: 9.3
125104

126-
- php: 5.5
127-
env: DB=pgsql POSTGRES=9.4
128-
addons:
129-
postgresql: 9.4
130105
- php: 5.6
131106
env: DB=pgsql POSTGRES=9.4
132107
addons:
@@ -143,11 +118,7 @@ matrix:
143118
env: DB=pgsql POSTGRES=9.4
144119
addons:
145120
postgresql: 9.4
146-
147-
- php: 5.5
148-
env: DB=pgsql POSTGRES=9.5
149-
addons:
150-
postgresql: 9.5
121+
151122
- php: 5.6
152123
env: DB=pgsql POSTGRES=9.5
153124
addons:
@@ -164,11 +135,7 @@ matrix:
164135
env: DB=pgsql POSTGRES=9.5
165136
addons:
166137
postgresql: 9.5
167-
168-
- php: 5.5
169-
env: DB=pgsql POSTGRES=9.6
170-
addons:
171-
postgresql: 9.6
138+
172139
- php: 5.6
173140
env: DB=pgsql POSTGRES=9.6
174141
addons:
@@ -185,23 +152,13 @@ matrix:
185152
env: DB=pgsql POSTGRES=9.6
186153
addons:
187154
postgresql: 9.6
188-
189-
190-
allow_failures:
191-
- php: nightly
192155

193156
fast_finish: true
194157

195-
# cache vendors
196158
cache:
197159
directories:
198-
- vendor
199160
- $HOME/.composer/cache
200161

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-
205162
notifications:
206163
webhooks:
207164
- http://propel.jarves.io/build.php

0 commit comments

Comments
 (0)