Skip to content

Commit

Permalink
Add php linting via travis
Browse files Browse the repository at this point in the history
  • Loading branch information
reedy committed Jul 2, 2019
1 parent 43c10ae commit 9ade7a1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
@@ -0,0 +1,13 @@
language: php
php:
- "7.0"
- "7.1"
- "7.2"
- "7.3"
env:
global:
- COMPOSER_DISABLE_XDEBUG_WARN=1
install:
- composer install
script:
- composer test
16 changes: 16 additions & 0 deletions composer.json
@@ -0,0 +1,16 @@
{
"name": "emoncms/dashboard",
"homepage": "https://emoncms.org",
"support": {
"forum": "https://community.openenergymonitor.org/"
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "1.0.0"
},
"scripts": {
"test": {
"parallel-lint . --exclude vendor"
}
},
"license": "AGPL-3.0-or-later"
}

0 comments on commit 9ade7a1

Please sign in to comment.