docket
This commit is contained in:
parent
d6c7857c6b
commit
95f4474b72
1 changed files with 1 additions and 3 deletions
|
@ -12,9 +12,7 @@ WORKDIR /app
|
||||||
RUN composer install
|
RUN composer install
|
||||||
|
|
||||||
COPY . /app/
|
COPY . /app/
|
||||||
RUN mkdir -p data/config && \
|
RUN echo '=== Installing ===' && mkdir -p data/config && echo "<?php define(\"DATABASE_DSN\", \"sqlite:data/shimmie.sqlite\");" > data/config/auto_install.conf.php && php index.php && \
|
||||||
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 '=== Smoke Test ===' && php index.php get-page /post/list && \
|
||||||
echo '=== Unit Tests ===' && ./vendor/bin/phpunit --configuration tests/phpunit.xml && \
|
echo '=== Unit Tests ===' && ./vendor/bin/phpunit --configuration tests/phpunit.xml && \
|
||||||
echo '=== Coverage ===' && ./vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-text && \
|
echo '=== Coverage ===' && ./vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-text && \
|
||||||
|
|
Reference in a new issue