diff --git a/.gitignore b/.gitignore index 5ed14d0f6..954fa8953 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.log -.directory \ No newline at end of file +.directory +vendor \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index db918fcae..857485eed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,15 @@ before_script: - composer install - git clone -b develop https://github.com/Orange-Management/Build.git - chmod -R 755 Build/Hooks +addons: + code_climate: + repo_token: + secure: "zXoveZL6QPXXcdyGxfgjlIRGSFbTgwi2NU6V9tROypLMA+5IWRd0CvvQkl4vx2lIAF5Pn3jOGqG6p6qinqwSzX2tE/RsdDEDz8LPKpN+AShyxLzzYu2ohDSqm3rSXysdgbjQBB1YoUIumhUGABfYIdZk+7g1Yjc3RLFdAs3YzB7CdG4zeBA1Xe82KHUDwZb2M/MG/Bf9jsi9HmjrBeMTmCiW8v6wclYG9rbkIoXY4mv4H0ywiTv4lHuyRWs19kJn4kKI3oLqmv0UcUmLv0wNgPrww2STtN/7ghlaiLNSrdKQV1EuVi/nRxxNlH2z+h8cMPAcksqZ29TT9RYkK32433QIUHYzN6t4LB8PgNkFPMc6zI6uzD9We4oYAw4bVIxkEgHXJBInfYSNRfoGPGHZ9WU+Ph9zt2nyB4mS6014gHgjBZSF+DV/r1mHa9XtXPDzxrbHJF7rIp99iOBnpGBcn4ERVhLP6onuam86TSgXjgyUrnTGazwKoc6cfwvb9RswpVtTvNJIYgzfJG6+QFAsltOSo3iRvKq+F2X3Lh/3dOAAcqh3TOZaSPee2sHCDFYq5d0qpNFJq/o6tEcPP9J6PmKsD7Ql9Zu1qNJ2MevheE/U/3sh2dy/5rhDSFCig2TRMy/53QATcCm2ngIfBJkeVyLQ2VMUsMXOk5v2uF16E6k=" script: - vendor/bin/phpunit --version && vendor/bin/phpunit --configuration tests/phpunit_no_coverage.xml - pwd - ./Build/Hooks/travis.sh +after_script: + - vendor/bin/test-reporter notifications: email: false \ No newline at end of file diff --git a/composer.json b/composer.json index 2dd5e5ba9..9a403e873 100644 --- a/composer.json +++ b/composer.json @@ -11,6 +11,7 @@ "phpunit/phpunit": "~6.4", "squizlabs/php_codesniffer": "~3.2", "phpmd/phpmd": "~2.6", - "phpstan/phpstan": "~0.10.1" + "phpstan/phpstan": "~0.10.1", + "codeclimate/php-test-reporter": "^0.4.4" } -} \ No newline at end of file +} diff --git a/tests/phpunit_no_coverage.xml b/tests/phpunit_no_coverage.xml index b95dbd154..932e5d755 100644 --- a/tests/phpunit_no_coverage.xml +++ b/tests/phpunit_no_coverage.xml @@ -28,4 +28,7 @@ + + +