Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
0d7a105
add test for getCurrentRevision
ClemensSahs Mar 24, 2014
b8ebe2f
add failing test for getCurrentRevision
ClemensSahs Mar 24, 2014
589a7db
add fail Test for getCurrentParents
ClemensSahs Mar 24, 2014
97530f0
remove unused code
ClemensSahs Mar 24, 2014
528a778
add php 5.6
Apr 29, 2014
e974f6d
refactor tests
Apr 29, 2014
01fe7d8
add Configuration tests
Apr 29, 2014
0083176
add blank tests
Apr 29, 2014
ccd8075
add code coverage to phpunit
Apr 29, 2014
68dfa2a
add cs fixer and enable coverage
Apr 29, 2014
4ffc6b2
add scrutinizer config
Apr 29, 2014
eaf6a96
add missing wget
Apr 29, 2014
dec6774
add some more tests
Apr 30, 2014
517ac61
update composer config
Apr 30, 2014
8fee33e
update travis composer need dev definition
Apr 30, 2014
9078be0
delete lock file
Apr 30, 2014
769d157
update code sniffer
Apr 30, 2014
8de0601
fix CS in tests
Apr 30, 2014
83ebf8e
fix CS for source
Apr 30, 2014
7aa46f8
fix test and add more
Apr 30, 2014
167fb3b
Merge branch 'feature/test2_wip' into feature/test2
Apr 30, 2014
25db748
fix cs
Apr 30, 2014
551b0c4
move phpunit xml to tests
Apr 30, 2014
2c7f0fe
update phpunit
Apr 30, 2014
3ede2dc
update travis
Apr 30, 2014
dec5cae
fix RepositoryInspectorTest
May 1, 2014
3596970
add test with data send
May 3, 2014
2458f60
move duplicate methods in a abstract class
May 5, 2014
c2b72c3
add application tests
May 5, 2014
857ed90
enable autoload for tests namespace
May 5, 2014
ce1deea
fix CS
May 5, 2014
8808694
add skip php version for buildin web server
May 5, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
imports:
- php

tools:
# PHP Similarity Analyzer and Copy/paste Detector cannot be used at
# the same time right now. Make sure to either remove, or disable one.
php_sim: true
php_cpd: false

php_changetracking: true

php_cs_fixer:
config: { level: psr2 }

php_pdepend: true

php_mess_detector: true

external_code_coverage:
timeout: 1800
22 changes: 18 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,27 @@ php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm

before_script:
- composer self-update
- composer install
- git config --global user.email "scrutinizer-ci@github.com"
- git config --global user.name "Scrutinizer-CI"
- composer install --dev --prefer-source;
- wget https://scrutinizer-ci.com/ocular.phar
- sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.3' ]; then echo 'starting PHP server on port 8080'; php -S localhost:8080 -d max_execution_time=10 -t tests/ tests/_files/_route-script.php & fi"

script:
- phpunit --configuration ./tests/phpunit.xml
- ./vendor/bin/phpcs -n --standard=PSR2 ./src/ ./tests/

script: phpunit
after_script:
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml

notifications:
email: false

matrix:
fast_finish: true
allow_failures:
- php: 5.6
- php: hhvm
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"jms/serializer": "~0.13"
},
"require-dev": {
"squizlabs/php_codesniffer": "~1",
"symfony/filesystem": "~2.0"
}
}
}
Loading