Added the repository settings

This commit is contained in:
Cédric Belin
2018-11-01 23:23:05 +01:00
parent 24ecee12ba
commit cadb3a774c
8 changed files with 104 additions and 0 deletions

13
.editorconfig Normal file
View File

@ -0,0 +1,13 @@
# https://editorconfig.org
root = true
[*]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
indent_size = 4
trim_trailing_whitespace = false

18
.gitattributes vendored Normal file
View File

@ -0,0 +1,18 @@
* text=auto
.* text
.semver text eol=lf
*.info text
*.json text
*.md text
*.neon text
*.php text diff=php
*.txt text
*.xml text
*.yml text
*.ico binary
*.jpg binary
*.pdf binary
*.png binary

15
.gitignore vendored Normal file
View File

@ -0,0 +1,15 @@
/.*/
!/.vscode/
/build/
/doc/api/
/var/
/vendor/
/web/
/*.code-workspace
/*.iml
/**/.DS_Store
/composer.lock
/doc/about/changelog.md
/doc/about/license.md

6
.semver Normal file
View File

@ -0,0 +1,6 @@
---
:major: 0
:minor: 1
:patch: 0
:special: ''
:metadata: ''

9
.travis.yml Normal file
View File

@ -0,0 +1,9 @@
dist: trusty
language: php
notifications: {email: false}
php: '7.2'
sudo: false
install: composer install --no-interaction
script: composer test
after_success: composer coverage

7
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"editor.insertSpaces": true,
"editor.tabSize": 2,
"files.encoding": "utf8",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true
}

36
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,36 @@
{
"version": "2.0.0",
"tasks": [
{
"command": "robo clean",
"label": "robo : clean",
"problemMatcher": [],
"type": "shell"
},
{
"command": "robo doc",
"label": "robo : doc",
"problemMatcher": [],
"type": "shell"
},
{
"command": "robo lint",
"label": "robo : lint",
"problemMatcher": [],
"type": "shell"
},
{
"command": "robo test",
"group": {"isDefault": true, "kind": "build"},
"label": "robo : test",
"problemMatcher": [],
"type": "shell"
},
{
"command": "robo upgrade",
"label": "robo : upgrade",
"problemMatcher": [],
"type": "shell"
}
]
}

0
var/.gitkeep Normal file
View File