commit
c738c48d61
23
.travis.yml
23
.travis.yml
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue