Skip to content

Commit cd542d6

Browse files
committed
🐳 Some docker changes
1 parent 2fa012a commit cd542d6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.travis.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
sudo: required
2-
dist: trusty
3-
language: php
4-
php:
5-
- "7.1"
6-
- "7.2"
7-
- "7.3"
1+
language: minimal
2+
3+
matrix:
4+
include:
5+
- name: "7.1"
6+
env: PHP_VERSION=7.1
7+
- name: "7.2"
8+
env: PHP_VERSION=7.2
9+
- name: "7.3"
10+
env: PHP_VERSION=7.3
811

912
services:
1013
- docker
@@ -14,10 +17,7 @@ cache:
1417
- $HOME/.composer/cache
1518

1619
install:
17-
- docker version
18-
- sudo pip install docker-compose
19-
- docker-compose version
20-
- docker-compose build --build-arg PHP_VERSION=${TRAVIS_PHP_VERSION}
20+
- docker-compose build --build-arg PHP_VERSION=${PHP_VERSION}
2121

2222
script:
2323
- docker-compose run --rm --no-deps tests composer install --no-interaction

0 commit comments

Comments
 (0)