Skip to content

Commit 3aec08f

Browse files
committed
chore: dot files- editorconfig/gitignore/travis
1 parent 11d707e commit 3aec08f

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

.editorconfig

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
; http://editorconfig.org
2+
;
3+
; Sublime: https://github.com/sindresorhus/editorconfig-sublime
4+
; Phpstorm: https://plugins.jetbrains.com/plugin/7294-editorconfig
5+
6+
root = true
7+
8+
[*]
9+
indent_style = space
10+
indent_size = 2
11+
end_of_line = lf
12+
charset = utf-8
13+
trim_trailing_whitespace = true
14+
insert_final_newline = true
15+
16+
[{*.md,*.php,composer.json,composer.lock}]
17+
indent_size = 4

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# standards
2+
/.cache/
3+
/.env
4+
/.idea/
5+
/vendor/
6+
composer.lock
7+
*.local.*

.travis.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: php
2+
3+
php:
4+
- 5.6
5+
- 7.0
6+
- 7.1
7+
- 7.2
8+
9+
install:
10+
- composer install --prefer-dist
11+
12+
before_script:
13+
- for P in src tests; do find $P -type f -name '*.php' -exec php -l {} \;; done
14+
15+
script:
16+
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
17+
18+
after_success:
19+
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)