Skip to content

Commit 2fb7382

Browse files
committed
added analysis
1 parent 3c86d5c commit 2fb7382

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.travis.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
language:
22
- php
3+
34
php:
45
- 5.5
56

6-
before_install:
7-
# Install Testspace Runner
8-
- ./testspace_install.sh
9-
- export PATH="${HOME}/testspace:${PATH}"
10-
117
script:
12-
- composer install
8+
- composer update
9+
- vendor/bin/phpcs src tests --report-gitblame=analysis-sniffer-blame.txt --report-checkstyle=analysis-sniffer.xml
10+
- vendor/bin/phpmd src,tests xml codesize,naming,unusedcode --reportfile analysis-mess.xml
1311
- vendor/bin/phpunit tests/unit --log-junit tests-results.xml --coverage-clover coverage.xml
14-
15-
# Publish Test Results along with Coverage
16-
- testspace publish [Tests]tests-results.xml{tests/unit} coverage.xml ${TESTSPACE_URL}
12+
13+
after_script:
14+
- curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
15+
- testspace publish @.testspace $TESTSPACE_TOKEN/${TRAVIS_BRANCH}#travis.Build.${TRAVIS_BUILD_NUMBER}

0 commit comments

Comments
 (0)