File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments