Skip to content

Commit f0d6c47

Browse files
committed
updates for reports location
1 parent 3023b03 commit f0d6c47

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

.c9build.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
# Build
4+
gem install bundler
5+
bundle install
6+
7+
# Analysis
8+
bundle exec rubocop --format emacs --out tmp/rubocop.txt
9+
bundle exec brakeman -o tmp/brakeman.json
10+
bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml
11+
12+
# Test
13+
export CI_REPORTS=$PWD/spec/reports
14+
COVERAGE=true xvfb-run --server-args="-screen 0 1024x768x24" bundle exec rake ci:setup:rspec spec
15+
16+
# Publish
17+
curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
18+
testspace publish @.testspace master.c9

.testspace

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Addding some comments here
2+
tmp/rubocop.txt
3+
tmp/brakeman_checkstyle.xml
4+
[Tests]$CI_REPORTS/SPEC*.xml{spec}
5+
coverage/coverage.xml

0 commit comments

Comments
 (0)