forked from everydayrails/rails-4-1-rspec-3-0
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (23 loc) · 720 Bytes
/
.travis.yml
File metadata and controls
28 lines (23 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
dist: bionic
language:
- ruby
rvm:
- 2.3
services:
- xvfb
addons:
firefox: "latest"
apt:
packages:
firefox-geckodriver
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 exec rubocop --format emacs --out tmp/rubocop.txt || true
- bundle exec brakeman -o tmp/brakeman.json
- bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml
- COVERAGE=true bundle exec rake ci:setup:rspec spec
after_script:
- CI_REPORTS=$PWD/spec/reports testspace @.testspace.txt --link=coveralls