Changes to bring local testing and Travis CI in line with one another.
This commit is contained in:
parent
4ad6b7094d
commit
55f9955bd0
|
@ -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
|
||||
|
|
|
@ -96,7 +96,8 @@ services:
|
|||
restart: always
|
||||
|
||||
cli:
|
||||
image: azuracast/azuracast_web:latest
|
||||
build:
|
||||
context: ./util/docker/testing
|
||||
volumes_from:
|
||||
- web
|
||||
depends_on:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
FROM azuracast/azuracast_web:latest
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -q -y php7.2-xdebug
|
Loading…
Reference in New Issue