Skip to content

Commit

Permalink
Merge pull request #3 from marcoaraujojunior/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
marcoaraujojunior authored Apr 17, 2017
2 parents 6785ac2 + 8d6674a commit 54eefbe
Show file tree
Hide file tree
Showing 8 changed files with 1,865 additions and 29 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.swp
*.sw*
vendor/**
tests/coverage/**
/nbproject/**
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
language: php

# list any PHP version you want to test against
php:
- 5.6
# aliased to a recent 7.x version

# execute any number of scripts before the test run, custom env's are available as variables
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source
# - php -r "copy('.env.example', '.env');"
# - php artisan key:generate

# omitting "script:" will default to phpunit
# use the $DB env variable to determine the phpunit.xml to use
script: composer coverage

after_script:
- composer codacy

11 changes: 0 additions & 11 deletions Dockerfile

This file was deleted.

12 changes: 11 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,22 @@
"require": {
"php": ">=5.6"
},
"require-dev": {
"phpunit/phpunit": "~5.7",
"codacy/coverage": "dev-master"
},
"autoload": {
"psr-4": {
"Fidelize\\Flowchart\\ToPng\\": "src/"
"Fidelize\\Flowchart\\ToPng\\": "src/",
"Fidelize\\Test\\": "tests/"
}
},
"suggest": {
"php": ">=7.0"
},
"scripts" : {
"test" : "phpunit",
"coverage" : "phpunit --coverage-clover=coverage.xml",
"codacy" : "codacycoverage clover coverage.xml"
}
}
Loading

0 comments on commit 54eefbe

Please sign in to comment.