Changes to bring local testing and Travis CI in line with one another.

This commit is contained in:
Buster "Silver Eagle" Neece 2018-07-13 14:16:28 -05:00
parent 4ad6b7094d
commit 55f9955bd0
4 changed files with 12 additions and 4 deletions

View File

@ -27,7 +27,7 @@ install:
- docker-compose -f docker-compose.sample.yml -f docker-compose.testing.yml run --rm cli azuracast_install
script:
- docker-compose -f docker-compose.sample.yml -f docker-compose.testing.yml run --rm cli azuracast_testing
- docker-compose -f docker-compose.sample.yml -f docker-compose.testing.yml run --rm cli vendor/bin/codecept run --no-interaction --coverage --coverage-xml --fail-fast
after_failure:
- cat tests/_output/*.html
- cat tests/_output/*.html

View File

@ -96,7 +96,8 @@ services:
restart: always
cli:
image: azuracast/azuracast_web:latest
build:
context: ./util/docker/testing
volumes_from:
- web
depends_on:

View File

@ -6,9 +6,12 @@ services:
- .:/var/azuracast/www
cli:
image: azuracast_cli:latest
build:
context: ./util/docker/testing
environment:
APPLICATION_ENV: "testing"
nginx:
volumes:
- .:/var/azuracast/www
- .:/var/azuracast/www

View File

@ -0,0 +1,4 @@
FROM azuracast/azuracast_web:latest
RUN apt-get update \
&& apt-get install -q -y php7.2-xdebug