Skip to content

Commit c1d6572

Browse files
authored
Merge pull request #31 from yooper/fix_laravel_56
Fix laravel 56
2 parents 6fb54f1 + ff7a6ac commit c1d6572

File tree

4 files changed

+50
-1
lines changed

4 files changed

+50
-1
lines changed

Dockerfile70

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM php:7.0-cli
2+
3+
RUN apt-get update && \
4+
apt-get install -y --no-install-recommends git zip
5+
6+
RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
7+
8+
RUN mkdir -p /app
9+
10+
COPY ./ /app
11+
12+
RUN composer --working-dir=/app install
13+
14+
RUN cd /app && SKIP_TEST=1 ./vendor/bin/phpunit -d memory_limit=1G
15+
16+
CMD ["/bin/sh"]

Dockerfile71

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM php:7.1-cli
2+
3+
RUN apt-get update && \
4+
apt-get install -y --no-install-recommends git zip
5+
6+
RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
7+
8+
RUN mkdir -p /app
9+
10+
COPY ./ /app
11+
12+
RUN composer --working-dir=/app install
13+
14+
RUN cd /app && SKIP_TEST=1 ./vendor/bin/phpunit -d memory_limit=1G
15+
16+
17+
CMD ["/bin/sh"]

Dockerfile72

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM php:7.2-cli
2+
3+
RUN apt-get update && \
4+
apt-get install -y --no-install-recommends git zip
5+
6+
RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
7+
8+
RUN mkdir -p /app
9+
10+
COPY ./ /app
11+
12+
RUN composer --working-dir=/app install
13+
14+
RUN cd /app && SKIP_TEST=1 ./vendor/bin/phpunit -d memory_limit=1G
15+
16+
CMD ["/bin/sh"]

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "yooper/php-text-analysis",
33
"description": "PHP Text Analysis is a library for performing Information Retrieval (IR) and Natural Language Processing (NLP) tasks using the PHP language",
44
"keywords": ["nlp","ir","text analysis","natural language processing"],
5-
"license": "Apache-2.0",
5+
"license": "MIT",
66
"authors": [
77
{
88
"name": "yooper",

0 commit comments

Comments
 (0)