Skip to content

Commit

Permalink
run tests using latest version of composer and codeception
Browse files Browse the repository at this point in the history
  • Loading branch information
gjerokrsteski committed Oct 28, 2018
1 parent ea35473 commit c5b8f48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Expand Up @@ -15,8 +15,8 @@ RUN apt-get update -y \
RUN apt-get install -y php7.2 \
&& apt-get install -y php-pear php7.2-curl php7.2-dev php7.0-json php7.2-mbstring php7.2-zip php7.2-xml php7.2-pdo php7.2-sqlite3 php7.2-intl

RUN curl -s https://getcomposer.org/installer | php \
&& mv composer.phar /usr/local/bin/composer \
RUN curl -sS https://getcomposer.org/installer -o composer-setup.php \
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer \
&& composer update \
&& composer dump-autoload --optimize \
&& composer install
Expand All @@ -33,3 +33,4 @@ VOLUME /php-react/app/Articles/_database
RUN chmod +x run-server.php

ENTRYPOINT php run-server.php

3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -18,6 +18,7 @@
"require": {
"react/react": "0.4.2",
"gjerokrsteski/pimf": "1.11.0",
"codeception/codeception": "2.4.3"
"codeception/codeception": "2.5.0"
}
}

0 comments on commit c5b8f48

Please sign in to comment.