diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..3582bcf --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,25 @@ +--- +engines: + duplication: + enabled: true + config: + languages: + - ruby + - javascript + - python + - php + fixme: + enabled: true + phpmd: + enabled: true +ratings: + paths: + - "**.inc" + - "**.js" + - "**.jsx" + - "**.module" + - "**.php" + - "**.py" + - "**.rb" +exclude_paths: +- tests/ diff --git a/.gitattributes b/.gitattributes index d0b4960..9402333 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,7 @@ .gitattributes export-ignore .gitignore export-ignore .gitlab_ci.yml export-ignore +.travis.yml export-ignore +.codeclimate.yml export-ignore DCO export-ignore CONTRIBUTING.md export-ignore diff --git a/.travis.yml b/.travis.yml index b36fdd9..2757654 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,8 @@ script: - php vendor/bin/phpunit -v -c tests/phpunit.xml --coverage-text before_script: - - composer install \ No newline at end of file + - composer install + +addons: + code_climate: + repo_token: $CODECLIMATE_REPO_TOKEN \ No newline at end of file diff --git a/README.md b/README.md index a269729..f316ee4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -FuzeWorks Application Skeleton [![build status](http://10.0.0.32/fuzeworks/Application/badges/master/build.svg)](http://10.0.0.32/fuzeworks/Application/commits/master) +FuzeWorks Application Skeleton [![Build Status](https://travis-ci.org/FuzeWorks/Application.svg?branch=master)](https://travis-ci.org/FuzeWorks/Application) ================= This is a simple, skeleton application using [FuzeWorks](https://techfuze.net/fuzeworks). This is meant to diff --git a/composer.json b/composer.json index a251381..38ff7cd 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,8 @@ "smarty/smarty": "~3.1" }, "require-dev": { - "phpunit/phpunit": "5.3.*" + "phpunit/phpunit": "5.3.*", + "codeclimate/php-test-reporter": "dev-master" }, "config": { "secure-http": false diff --git a/tests/phpunit.xml b/tests/phpunit.xml index 7927b71..4a24930 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -16,14 +16,14 @@ - - - - - + + + + - - + +