Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
c853b2f3
Commit
c853b2f3
authored
Oct 28, 2014
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better Travis CI config
parent
1204c326
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
.travis.yml
.travis.yml
+5
-10
No files found.
.travis.yml
View file @
c853b2f3
...
...
@@ -12,7 +12,6 @@ before_script:
-
curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
## PHP Mess Detector
-
pear config-set preferred_state beta
-
printf "\n" | pecl install imagick
-
pear channel-discover pear.phpmd.org
-
pear channel-discover pear.pdepend.org
-
pear install --alldeps phpmd/PHP_PMD
...
...
@@ -22,17 +21,13 @@ before_script:
script
:
## PHP_CodeSniffer
-
phpcs --extensions=php --standard=qa-tests/phpcs/ruleset.xml .
-
phpcs --
report=emacs --
extensions=php --standard=qa-tests/phpcs/ruleset.xml .
## PHP Copy/Paste Detector
-
php phpcpd.phar
--verbose
.
-
php phpcpd.phar .
## PHP Mess Detector
-
phpmd . text cleancode
-
phpmd . text codesize
-
phpmd . text controversial
-
phpmd . text design
-
phpmd . text naming
-
phpmd . text unusedcode
-
phpmd --exclude qa-include/vendor/ . text codesize
-
phpmd --exclude qa-include/vendor/ . text unusedcode
## PHPLOC
-
php phploc.phar .
## PHPUNIT
-
phpunit
.
-
phpunit
--bootstrap qa-tests/autoload.php qa-tests
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment