commit
c738c48d61
23
.travis.yml
23
.travis.yml
|
@ -1,19 +1,18 @@
|
||||||
|
sudo: required
|
||||||
|
|
||||||
language: php
|
language: php
|
||||||
sudo: false
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- "$HOME/.composer/cache/files"
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
- php: 7.2
|
- php: 7.2
|
||||||
- php: 7.1
|
|
||||||
before_install:
|
services:
|
||||||
- phpenv config-rm xdebug.ini
|
- docker
|
||||||
- composer self-update
|
|
||||||
install:
|
install:
|
||||||
- cd $TRAVIS_BUILD_DIR/server && composer install
|
- docker-compose build
|
||||||
- cd $TRAVIS_BUILD_DIR/server && composer update
|
- docker-compose up -d
|
||||||
- cd $TRAVIS_BUILD_DIR/client && yarn install
|
|
||||||
script:
|
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