-
Notifications
You must be signed in to change notification settings - Fork 264
Add CI pipeline + fix multiple env issues #132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 18 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
21ed435
Add CI improvements
claudiodekker b0302c1
Update .gitattributes
claudiodekker 0f15c23
Merge branch 'master' into ci-improvements
claudiodekker d0ebaa6
Disable branch limiter for now
claudiodekker 1ec5f01
Remove PHP <= 5.5, add PHP 8.0
claudiodekker 14ca6d6
Update testbench dependency for Laravel 6, 7, 8
claudiodekker 34c3f8b
Drop Laravel <= 6.0 (TestBench issues)
claudiodekker 3b5e25f
Remove TravisCI testing for PHP <= 7.1
claudiodekker b1c92f2
Remove TravisCI config warnings
claudiodekker dded5a2
Merge branch 'laravel-5.4-auto-middleware-registration' into ci-impro…
claudiodekker f11a8c4
Merge branch 'master' into ci-improvements
claudiodekker 22dcce9
Fix: TestResponse not found on Laravel 6+
claudiodekker 864a83a
Fix @covers annotation issue
claudiodekker e4eff76
Fix PHPUnit issues in earlier Laravel releases
claudiodekker 4bc90d7
Remove PHP 8.0 from Travis (not yet supported)
claudiodekker 065e628
Fix failing test
claudiodekker f79efb1
Apply fixes from StyleCI
claudiodekker 2b13249
Merge pull request #2 from claudiodekker/analysis-Px9YO9
claudiodekker f6cbb11
Lower minimal version to Laravel 6.10
claudiodekker b34ddf5
Merge branch 'ci-improvements' of github-as-personal:claudiodekker/in…
claudiodekker 19f86a6
Switch to Github Actions
claudiodekker bbc7bcd
Fix identation
claudiodekker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,15 @@ | ||
| ; This file is for unifying the coding style for different editors and IDEs. | ||
| ; More information at https://editorconfig.org | ||
|
|
||
| root = true | ||
|
|
||
| [*] | ||
| charset = utf-8 | ||
| indent_size = 4 | ||
| indent_style = space | ||
| end_of_line = lf | ||
| insert_final_newline = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.md] | ||
| trim_trailing_whitespace = false |
This file contains hidden or 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,11 @@ | ||
| # Path-based git attributes | ||
| # https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html | ||
|
|
||
| # Ignore all test and documentation with "export-ignore". | ||
| /.editorconfig export-ignore | ||
| /.gitattributes export-ignore | ||
| /.gitignore export-ignore | ||
| /.styleci.yml export-ignore | ||
| /.travis.yml export-ignore | ||
| /phpunit.xml export-ignore | ||
| /tests export-ignore |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| /vendor | ||
| .DS_Store | ||
| .php_cs | ||
| .php_cs.cache | ||
| .phpunit.result.cache | ||
| composer.lock |
This file contains hidden or 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 @@ | ||
| preset: laravel |
This file contains hidden or 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 @@ | ||
| os: linux | ||
| dist: xenial | ||
| language: php | ||
|
|
||
| php: | ||
| - 7.2 | ||
| - 7.3 | ||
| - 7.4 | ||
|
|
||
| env: | ||
| jobs: | ||
| - COMPOSER_FLAGS="--prefer-lowest" | ||
| - COMPOSER_FLAGS="" | ||
|
|
||
| before_install: | ||
| - travis_retry composer self-update | ||
|
|
||
| install: | ||
| - travis_retry composer update --prefer-source $COMPOSER_FLAGS | ||
|
|
||
| script: | ||
| - phpunit | ||
|
|
||
| #branches: | ||
| # only: | ||
| # - master |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| <?php | ||
|
|
||
| if (!function_exists('inertia')) { | ||
| if (! function_exists('inertia')) { | ||
| /** | ||
| * Inertia helper. | ||
| * | ||
|
|
||
This file contains hidden or 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 |
|---|---|---|
| @@ -1,20 +1,22 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.4/phpunit.xsd" | ||
| bootstrap="vendor/autoload.php" | ||
| forceCoversAnnotation="true" | ||
| beStrictAboutCoversAnnotation="true" | ||
| beStrictAboutOutputDuringTests="true" | ||
| beStrictAboutTodoAnnotatedTests="true" | ||
| verbose="true"> | ||
| <phpunit bootstrap="vendor/autoload.php" | ||
| backupGlobals="false" | ||
| backupStaticAttributes="false" | ||
| colors="true" | ||
| verbose="true" | ||
| convertErrorsToExceptions="true" | ||
| convertNoticesToExceptions="true" | ||
| convertWarningsToExceptions="true" | ||
| processIsolation="false" | ||
| stopOnFailure="false"> | ||
| <testsuites> | ||
| <testsuite name="default"> | ||
| <directory suffix="Test.php">tests</directory> | ||
| <testsuite name="Test Suite"> | ||
| <directory>tests</directory> | ||
| </testsuite> | ||
| </testsuites> | ||
| <filter> | ||
| <whitelist processUncoveredFilesFromWhitelist="true"> | ||
| <directory suffix=".php">src</directory> | ||
| <whitelist> | ||
| <directory suffix=".php">src/</directory> | ||
| </whitelist> | ||
| </filter> | ||
| </phpunit> |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.