syntax
This commit is contained in:
parent
9ea70b0055
commit
d6c7857c6b
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
@ -14,9 +14,9 @@ RUN composer install
|
|||
COPY . /app/
|
||||
RUN mkdir -p data/config && \
|
||||
echo "<?php define(\"DATABASE_DSN\", \"sqlite:data/shimmie.sqlite\");" > data/config/auto_install.conf.php && \
|
||||
echo === Installing === && php index.php && \
|
||||
echo === Smoke Test === && php index.php get-page /post/list && \
|
||||
echo === Unit Tests === && ./vendor/bin/phpunit --configuration tests/phpunit.xml && \
|
||||
echo === Coverage === && ./vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-text && \
|
||||
echo === Cleaning === && rm -rf data
|
||||
echo '=== Installing ===' && php index.php && \
|
||||
echo '=== Smoke Test ===' && php index.php get-page /post/list && \
|
||||
echo '=== Unit Tests ===' && ./vendor/bin/phpunit --configuration tests/phpunit.xml && \
|
||||
echo '=== Coverage ===' && ./vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-text && \
|
||||
echo '=== Cleaning ===' && rm -rf data
|
||||
CMD "/app/tests/docker-init.sh"
|
||||
|
|
Reference in a new issue