forked from Cavemanon/cavepaintings
slightly more verbose docker install
This commit is contained in:
parent
0fa371c7b0
commit
4f0ee38508
@ -14,7 +14,8 @@ 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 && \
|
||||
php index.php && \
|
||||
./vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-text && \
|
||||
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 --coverage-text && \
|
||||
echo === Cleaning === && rm -rf data
|
||||
CMD "/app/tests/docker-init.sh"
|
||||
|
Loading…
Reference in New Issue
Block a user