mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-17 22:47:04 +00:00
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
|
- docker-compose -f docker-compose.sample.yml -f docker-compose.testing.yml run --rm cli azuracast_install
|
||||||
|
|
||||||
script:
|
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:
|
after_failure:
|
||||||
- cat tests/_output/*.html
|
- cat tests/_output/*.html
|
||||||
|
|
|
@ -96,7 +96,8 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
cli:
|
cli:
|
||||||
image: azuracast/azuracast_web:latest
|
build:
|
||||||
|
context: ./util/docker/testing
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- web
|
- web
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
@ -6,9 +6,12 @@ services:
|
||||||
- .:/var/azuracast/www
|
- .:/var/azuracast/www
|
||||||
|
|
||||||
cli:
|
cli:
|
||||||
|
image: azuracast_cli:latest
|
||||||
|
build:
|
||||||
|
context: ./util/docker/testing
|
||||||
environment:
|
environment:
|
||||||
APPLICATION_ENV: "testing"
|
APPLICATION_ENV: "testing"
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
volumes:
|
volumes:
|
||||||
- .:/var/azuracast/www
|
- .:/var/azuracast/www
|
||||||
|
|
4
util/docker/testing/Dockerfile
Normal file
4
util/docker/testing/Dockerfile
Normal file
|
@ -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
Block a user