Skip to content

Commit aa71ebe

Browse files
committed
added other content files
1 parent fa1b2e4 commit aa71ebe

3 files changed

Lines changed: 33 additions & 0 deletions

File tree

.c9build.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
# Clean
4+
# Clean
5+
echo "removing files"
6+
rm analysis-sniffer.xml
7+
rm analysis-sniffer-blame.txt
8+
rm analysis-mess.xml
9+
rm tests-results.xml
10+
rm coverage.xml
11+
12+
# Build
13+
composer update
14+
15+
# Analysis Code
16+
vendor/bin/phpcs src tests --report-gitblame=analysis-sniffer-blame.txt --report-checkstyle=analysis-sniffer.xml
17+
vendor/bin/phpmd src,tests xml codesize,naming,unusedcode --reportfile analysis-mess.xml
18+
19+
# Test Code
20+
vendor/bin/phpunit tests/unit --log-junit tests-results.xml --coverage-clover coverage.xml
21+
22+
# Publish Test Content
23+
curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
24+
testspace publish @.testspace master.c9

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ build/pdepend
77
vendor/
88
composer.lock
99

10+
analysis-sniffer.xml
11+
analysis-sniffer-blame.txt
12+
analysis-mess.xml
13+
1014
tests-results.xml
1115
coverage.xml
1216

.testspace

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
analysis-sniffer.xml
2+
analysis-mess.xml
3+
[Static Analysis]+analysis-sniffer-blame.txt{who should get the blame?}
4+
[Tests]tests-results.xml{tests/unit}
5+
coverage.xml

0 commit comments

Comments
 (0)