Merge pull request #2 from Sundowndev/travis-patch

Travis patch using Docker
master
Raphael Cerveaux 2018-07-10 11:09:40 +02:00 committed by GitHub
commit c738c48d61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 13 deletions

View File

@ -1,19 +1,18 @@
sudo: required
language: php
sudo: false
cache:
directories:
- "$HOME/.composer/cache/files"
matrix:
fast_finish: true
include:
- php: 7.2
- php: 7.1
before_install:
- phpenv config-rm xdebug.ini
- composer self-update
services:
- docker
install:
- cd $TRAVIS_BUILD_DIR/server && composer install
- cd $TRAVIS_BUILD_DIR/server && composer update
- cd $TRAVIS_BUILD_DIR/client && yarn install
- docker-compose build
- docker-compose up -d
script:
- cd $TRAVIS_BUILD_DIR/server && composer validate --strict
- docker exec interviewv1_server_1 /bin/sh -c 'composer update'
- docker exec interviewv1_server_1 /bin/sh -c 'composer validate --strict'

View File

@ -1,6 +1,6 @@
# interview-v1
![](https://api.travis-ci.org/Sundowndev/interview-v1.svg?branch=master)
![](https://api.travis-ci.org/Sundowndev/interview-v1.svg)
## Description