Skip to content

Commit 9f6b0a7

Browse files
committed
adding Circle CI
1 parent b6cf23c commit 9f6b0a7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.circle.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
machine:
2+
php:
3+
version: 5.5
4+
5+
test:
6+
override:
7+
- composer update
8+
- vendor/bin/phpcs src tests --report-gitblame=analysis-sniffer-blame.txt --report-checkstyle=analysis-sniffer.xml
9+
- vendor/bin/phpmd src,tests xml codesize,naming,unusedcode --reportfile analysis-mess.xml
10+
- vendor/bin/phpunit tests/unit --log-junit tests-results.xml --coverage-clover coverage.xml
11+
12+
post:
13+
- curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
14+
- testspace publish @.testspace $TESTSPACE_TOKEN/${CIRCLE_BRANCH}#circle.Build.${CIRCLE_BUILD_NUM}

0 commit comments

Comments
 (0)