Skip to content

Commit 0bc11be

Browse files
committed
Migrate to Circle v2
1 parent 981cf8f commit 0bc11be

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

.circle.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.circleci/config.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/php:5.6.37-cli-node-browsers
6+
steps:
7+
- checkout
8+
- run:
9+
name: Get latest testspace client
10+
command: curl -s https://testspace-client.s3.amazonaws.com/testspace-linux-dev.tgz | sudo tar -zxvf- -C /usr/local/bin
11+
- run:
12+
name: Configure testspace client
13+
command: testspace config url samples.testspace.com
14+
- run: composer install
15+
- run: vendor/bin/phpcs src tests --report-gitblame=analysis-sniffer-blame.txt --report-checkstyle=analysis-sniffer.xml || true
16+
- run: vendor/bin/phpmd src,tests xml codesize,naming,unusedcode --reportfile analysis-mess.xml || true
17+
- run: vendor/bin/phpunit tests/unit --log-junit tests-results.xml --coverage-clover coverage.xml
18+
- run:
19+
name: Send reports to testspace
20+
command: testspace @.testspace.txt
21+
when: always

0 commit comments

Comments
 (0)