Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Github actions instead of Travis. Fix Code style Bump package versions. Add probot files Add GitAttributes file. Update README.
- Loading branch information
Showing
9 changed files
with
126 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/spec export-ignore | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.scrutinizer.yml export-ignore | ||
.travis.yml export-ignore | ||
phpunit.xml.dist export-ignore | ||
infection.json.dist export-ignore | ||
grumphp.yml.dist export-ignore | ||
phpspec.yml.dist export-ignore |
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,49 @@ | ||
# https://github.com/probot/settings | ||
|
||
branches: | ||
- name: master | ||
protection: | ||
enforce_admins: false | ||
required_pull_request_reviews: | ||
dismiss_stale_reviews: true | ||
require_code_owner_reviews: true | ||
required_approving_review_count: 1 | ||
required_status_checks: | ||
contexts: | ||
- "Grumphp" | ||
strict: false | ||
restrictions: null | ||
|
||
labels: | ||
- name: bug | ||
color: ee0701 | ||
|
||
- name: dependencies | ||
color: 0366d6 | ||
|
||
- name: enhancement | ||
color: 0e8a16 | ||
|
||
- name: question | ||
color: cc317c | ||
|
||
- name: security | ||
color: ee0701 | ||
|
||
- name: stale | ||
color: eeeeee | ||
|
||
repository: | ||
allow_merge_commit: true | ||
allow_rebase_merge: false | ||
allow_squash_merge: false | ||
default_branch: master | ||
description: "Belgian national number faker generator using fzaninotto/faker." | ||
topics: faker,belgian national number | ||
has_downloads: true | ||
has_issues: true | ||
has_pages: false | ||
has_projects: false | ||
has_wiki: false | ||
name: belgian-national-number-faker | ||
private: false |
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,41 @@ | ||
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | ||
|
||
on: | ||
- pull_request | ||
- push | ||
|
||
name: "Continuous Integration" | ||
|
||
jobs: | ||
grumphp: | ||
name: "Grumphp" | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
php-binary: | ||
- php7.1 | ||
- php7.2 | ||
- php7.3 | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@master | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: "Composer install" | ||
run: ${{ matrix.php-binary }} $(which composer) install --no-interaction --no-progress --no-suggest | ||
|
||
- name: "Composer install lowest dependencies" | ||
if: matrix.dependencies == 'lowest' | ||
run: ${{ matrix.php-binary }} $(which composer) update --no-interaction --no-progress --no-suggest --prefer-lowest | ||
|
||
- name: "Run Grumphp" | ||
run: ${{ matrix.php-binary }} vendor/bin/grumphp run | ||
env: | ||
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} | ||
|
||
- name: "Scrutinizer" | ||
run: wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -14,6 +14,5 @@ | |
"branch": "master" | ||
} | ||
}, | ||
"testFramework":"phpspec", | ||
"tmpDir": "build" | ||
"testFramework":"phpspec" | ||
} |
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