Skip to content

Commit 49ec04d

Browse files
author
Stanislav Shupilkin
committed
Separate installing vendors by composer use official image of composer
1 parent e2a91bb commit 49ec04d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ php:
88
services:
99
- docker
1010

11+
before_script:
12+
- docker pull composer
13+
- docker run --rm -v $(pwd):/app composer install --prefer-source --no-interaction
1114
install:
1215
- docker version
1316
- sudo pip install docker-compose

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
working_dir: /code
1212
environment:
1313
PHP_VERSION: ${PHP_VERSION}
14-
command: bash -c "composer install --prefer-source --no-interaction && php ./vendor/bin/phpunit"
14+
command: bash -c "php ./vendor/bin/phpunit"
1515
depends_on:
1616
- mysql
1717
- mongodb

0 commit comments

Comments
 (0)