Use composer scripts inside container

pull/2/head
Raphael Cerveaux 2018-07-10 10:48:38 +02:00 committed by GitHub
parent 0145147cd9
commit f7d48303d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,10 @@
sudo: required
language: php
matrix:
fast_finish: true
include:
- php: 7.2
services:
- docker
@ -10,4 +14,5 @@ install:
- docker-compose up -d
script:
- cd $TRAVIS_BUILD_DIR/server && composer validate --strict
- docker exec interview-v1_server_1 /bin/sh -c 'compose update'
- docker exec interview-v1_server_1 /bin/sh -c 'compose validate --strict'