Skip to content

Commit ff20bab

Browse files
authored
Simplify Matrix
dist: trusty is now the default container os: linux is always true unless otherwise specified in the matrix only need to specify sudo: false once Note: if you need sudo: true for a single item in the matrix you can add it to that single matrix line Note2: if you need a different dist for a single job in the matrix can add it to that single matrix line Note3: if you need a different os for a single job in the matrix can add it to that single matrix line no need for all the duplication
1 parent 338f6ce commit ff20bab

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

.travis.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
sudo: false
12
language: php
23

34
addons:
@@ -8,26 +9,11 @@ addons:
89

910
matrix:
1011
include:
11-
- os: linux
12-
dist: trusty
13-
sudo: false
14-
php: 5.5
15-
- os: linux
16-
dist: trusty
17-
sudo: false
18-
php: 5.6
19-
- os: linux
20-
dist: trusty
21-
sudo: false
22-
php: 7.0
23-
- os: linux
24-
dist: trusty
25-
sudo: false
26-
php: 7.1
27-
- os: linux
28-
dist: trusty
29-
sudo: false
30-
php: 7.2
12+
- php: 5.5
13+
- php: 5.6
14+
- php: 7.0
15+
- php: 7.1
16+
- php: 7.2
3117

3218
services:
3319
- mongodb

0 commit comments

Comments
 (0)