-
-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #605 from jeidison/master
Suporte ao laravel 8
- Loading branch information
Showing
13 changed files
with
139 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
language: php | ||
|
||
php: | ||
- 7.3 | ||
|
||
before_script: | ||
- "composer self-update" | ||
- "composer --version" | ||
- "composer install --verbose" | ||
|
||
script: | ||
- "vendor/bin/phpunit -c phpunit.xml --coverage-clover=coverage.clover" | ||
|
||
after_script: | ||
- "wget https://scrutinizer-ci.com/ocular.phar" | ||
- "php ocular.phar code-coverage:upload --format=php-clover coverage.clover" | ||
|
||
after_success: | ||
- if [ $TRAVIS_PHP_VERSION = '7.0' ] && [ $TRAVIS_BRANCH = 'master' ]; then sh generate-api.sh; fi | ||
|
||
env: | ||
global: | ||
secure: XTzPUKON+QTpUnWAlQJWzarcuOVOUZRHnDkvp8wKQp55k/Qsz7tw7edfjwzefGuzqBm1lINR4zpsm9n7zwy4rh97hPh+hFEMT5ozOS4R042YfVv7Xkz2mhGRsyIBwW2xDbFev1z7PekdzAxD8G8Fp0xlVKJzqyX8KqAm4XtubpnHisvItXyiE7qgxPmsQf3UbWr5FPtOBrUz7jHLsGrFM0Z55cYhGsnBTFf+qyo7qbLSUSj6kQUDneiRXzTIAn3xiqpBvHbJ10ByUXcLFycxa1b/FKKSqqBUCoM04l2+gA4g1yFwvsaOcdAsOrJp664nCLgBEGPR4BpEzIuqfOwsiqZEYD1AciIHqFTs42QumTwqGjQIvgt1GfO47/GjmlxvWqeOFB3SMFwT/nna7yS6tcFMhY1kSQmjctLfR81ciDPMoJFzmGDxlatWwz2tI52R+P0NSw6+pxOu0laS+jz+ARftS6KJ/FfJNDBxX9IRAobvMq3ASygz4XQaQ4mD6BEN5muwdPhq5fDUJW08R5FJ9EjyLxTKLLWDN2ENdTG9UpWjx4cuRd1BLOGphIwG//EHfYhktgCKwlhN6y9kvW/4YiFBpgpqTV77zTAXGBus/2T1oQtHfDc+ESiufbd9r67QgidQwVN2w58N/i/0GXl8kjV8V+cJslLEYryMfvIT9GM= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM php:7.3.25-fpm-alpine3.11 | ||
|
||
RUN apk add --no-cache \ | ||
openssl \ | ||
bash \ | ||
unzip \ | ||
vim \ | ||
$PHPIZE_DEPS \ | ||
libzip-dev \ | ||
zlib-dev \ | ||
libsodium-dev \ | ||
icu-dev | ||
|
||
RUN docker-php-ext-configure intl | ||
RUN docker-php-ext-install zip sodium intl | ||
RUN docker-php-ext-enable zip sodium | ||
|
||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | ||
|
||
|
||
|
||
WORKDIR /var/www | ||
|
||
EXPOSE 9000 | ||
|
||
ENTRYPOINT ["php-fpm"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: '3.7' | ||
|
||
services: | ||
|
||
laravel-boleto: | ||
build: . | ||
container_name: laravel-boleto | ||
tty: true | ||
volumes: | ||
- .:/var/www | ||
networks: | ||
- laravel-boleto-network | ||
|
||
networks: | ||
laravel-boleto-network: | ||
driver: bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.