-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
MartkCz
committed
Feb 27, 2019
1 parent
6670823
commit 030c9ef
Showing
42 changed files
with
584 additions
and
422 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 |
---|---|---|
@@ -1,19 +1,35 @@ | ||
language: php | ||
php: | ||
- 7.2 | ||
- 7.3 | ||
|
||
os: | ||
- linux | ||
before_install: | ||
# Turn off XDebug | ||
- phpenv config-rm xdebug.ini || return 0 | ||
|
||
php: | ||
- 7.1 | ||
install: | ||
# Composer | ||
- travis_retry composer install --no-progress --prefer-dist | ||
script: | ||
# Tests | ||
- composer run-script tests | ||
|
||
matrix: | ||
jobs: | ||
include: | ||
- php: 7.1 | ||
env: PHPSTAN=1 | ||
- env: title="Lowest Dependencies 7.2" | ||
php: 7.2 | ||
install: | ||
- travis_retry composer update --no-progress --prefer-dist --prefer-lowest | ||
script: | ||
- composer run-script tests | ||
|
||
install: | ||
- composer self-update | ||
- composer install | ||
- stage: Quality Assurance | ||
php: 7.2 | ||
script: | ||
- composer run-script qa | ||
|
||
script: | ||
- if [ "$PHPSTAN" = "1" ]; then vendor/bin/phpstan analyse src --level=6 --ansi --no-progress; fi | ||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache |
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,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ruleset name="Contributte"> | ||
<!-- Contributte Coding Standard --> | ||
<rule ref="./vendor/ninjify/coding-standard/contributte.xml"/> | ||
|
||
<!-- Specific rules --> | ||
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName"> | ||
<properties> | ||
<property name="rootNamespaces" type="array" value=" | ||
src=>Contributte\Invoice | ||
"/> | ||
</properties> | ||
</rule> | ||
|
||
<!-- Exclude folders --> | ||
<exclude-pattern>/tests/</exclude-pattern> | ||
<exclude-pattern>/src/Data/Account.php</exclude-pattern> | ||
<exclude-pattern>/src/Renderers/PDF.php</exclude-pattern> | ||
</ruleset> |
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.