Skip to content

Commit b0964fc

Browse files
committed
local build script
1 parent fbde4a7 commit b0964fc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.c9build.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
# Prerequisites
4+
sudo apt-get update
5+
sudo apt-get install openjdk-7-jdk
6+
7+
# Build
8+
mvn clean compile
9+
10+
# Analysis
11+
12+
# Test
13+
mvn cobertura:cobertura -Dcobertura.report.format=xml
14+
15+
# Publish
16+
curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
17+
testspace [Tests]target/surefire-reports/TEST-TestSuite.xml target/site/cobertura/coverage.xml master.c9

0 commit comments

Comments
 (0)