File tree Expand file tree Collapse file tree 3 files changed +39
-21
lines changed
Expand file tree Collapse file tree 3 files changed +39
-21
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ jobs :
3+ build :
4+ docker :
5+ - image : circleci/ruby:2.3-node-browsers
6+ steps :
7+ - checkout
8+ - restore_cache :
9+ keys :
10+ - testspace-bundle-{{ checksum "Gemfile.lock" }}
11+ - testspace-bundle-
12+ - run :
13+ name : Install gems
14+ command : bundle install --deployment
15+ - save_cache :
16+ key : testspace-bundle-{{ checksum "Gemfile.lock" }}
17+ paths :
18+ - vendor/bundle
19+ - run :
20+ name : Get latest testspace client
21+ command : curl -s https://testspace-client.s3.amazonaws.com/testspace-linux-dev.tgz | sudo tar -zxvf- -C /usr/local/bin
22+ - run :
23+ name : Configure testspace client
24+ command : testspace config url samples.testspace.com
25+ - run :
26+ name : Run rubocop
27+ command : bundle exec rubocop --format emacs --out tmp/rubocop.txt || true
28+ - run :
29+ name : Run brakeman
30+ command : bundle exec brakeman -o tmp/brakeman.json
31+ - run : bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml
32+ - run :
33+ name : Run specs
34+ command : CI_REPORTS=spec/reports RAILS_ENV=test COVERAGE=true bundle exec rake ci:setup:rspec spec
35+ - run :
36+ name : Send reports to testspace
37+ command : testspace @.testspace.txt
38+ when : always
Original file line number Diff line number Diff line change 11## Addding some comments here
22tmp/rubocop.txt{lint}
33tmp/brakeman_checkstyle.xml
4- [Tests]$CI_REPORTS/ SPEC*.xml{spec}
4+ [Tests]spec/reports/ SPEC*.xml{spec}
55coverage/coverage.xml
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments