Skip to content

Commit

Permalink
Merge pull request #2 from msvrtan/fixing-ci
Browse files Browse the repository at this point in the history
Fixing ci
  • Loading branch information
msvrtan committed Feb 11, 2016
2 parents 84a10b8 + 3ff5d26 commit b05bf8b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Save as .codeclimate.yml (note leading .) in project root directory
languages:
JavaScript: true
PHP: true
exclude_paths:
- "web/static/javascript/vendor/*"
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,18 @@ before_script:
- sed -i 's/^/;/' ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini
- composer install --prefer-source
- mkdir build/cov -p
- mkdir build/logs -p
script:
- if [[ $coverage == 'phpunit' ]]; then sed -i 's/^;//' ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini; fi;
- php -d 'xdebug.max_nesting_level=500' bin/phpunit
- if [[ $coverage == 'phpunit' ]]; then sed -i 's/^/;/' ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini; fi;
- if [[ $coverage == 'phpunit' ]]; then php bin/coveralls -v; fi;
- if [[ $coverage == 'phpunit' ]]; then php bin/test-reporter -v; fi;
- if [[ $coverage == 'phpspec' ]]; then sed -i 's/^;//' ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini; fi;
- ./bin/phpspec run --no-interaction
- if [[ $coverage == 'phpspec' ]]; then sed -i 's/^/;/' ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini; fi;
- if [[ $coverage == 'phpspec' ]]; then php bin/coveralls -v; fi;
- if [[ $coverage == 'phpspec' ]]; then php bin/test-reporter -v; fi;
- ant php-cs-fixer-check-task
- ant phpcs-task
- ant phpmd-task
4 changes: 4 additions & 0 deletions etc/ci/phpspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ extensions:
- RMiller\ExemplifyExtension\ExemplifyExtension
- RMiller\BehatSpec\PhpSpecExtension
- PhpSpec\Extension\CodeCoverageExtension
suites:
default:
namespace: DevBoardLib\GithubApiFacade
psr4_prefix: DevBoardLib\GithubApiFacade
code_coverage:
format:
- html
Expand Down

0 comments on commit b05bf8b

Please sign in to comment.