forked from mhartl/sample_app_3rd_edition
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
21 lines (17 loc) · 741 Bytes
/
.travis.yml
File metadata and controls
21 lines (17 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language:
- ruby
rvm:
- 2.3
before_script:
- mkdir -p $HOME/bin
- curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | tar -zxvf- -C $HOME/bin
- testspace config url samples.testspace.com
script:
- bundle install
- bundle exec rubocop --format emacs --out reports/rubocop.txt || true
- bundle exec brakeman -o reports/brakeman.json
- bundle exec brakeman_translate_checkstyle_format translate --file="reports/brakeman.json" > reports/brakeman_checkstyle.xml
- bundle exec scss-lint --no-color --format=Stats --format=Default --out=reports/scss-lint.txt app/assets/stylesheets/ || true
- CI_REPORTS=reports/test bundle exec rake minitest test
after_script:
- testspace @.testspace.txt