Try CodeClimate reporting again
This commit is contained in:
parent
8f1df20c54
commit
728b6084f9
1 changed files with 12 additions and 11 deletions
23
.travis.yml
23
.travis.yml
|
|
@ -48,9 +48,7 @@ jobs:
|
||||||
- RAILS_ENV=test bundle exec bin/rails webdrivers:chromedriver:update
|
- RAILS_ENV=test bundle exec bin/rails webdrivers:chromedriver:update
|
||||||
- $CCTR before-build
|
- $CCTR before-build
|
||||||
script:
|
script:
|
||||||
- "bin/travis_script.sh $TEST_SUITE"
|
- "bin/travis_script.sh $TEST_SUITE && $CCTR format-coverage -t simplecov -o ./coverage/codeclimate.1.json ./coverage/spec/.resultset.json"
|
||||||
after_success:
|
|
||||||
- $CCTR format-coverage -t simplecov -o ./coverage/codeclimate.1.json ./coverage/spec/.resultset.json
|
|
||||||
env:
|
env:
|
||||||
- TEST_SUITE=ability
|
- TEST_SUITE=ability
|
||||||
workspaces:
|
workspaces:
|
||||||
|
|
@ -61,8 +59,8 @@ jobs:
|
||||||
- <<: *tests
|
- <<: *tests
|
||||||
env:
|
env:
|
||||||
- TEST_SUITE=features
|
- TEST_SUITE=features
|
||||||
after_success:
|
script:
|
||||||
- $CCTR format-coverage -t simplecov -o ./coverage/codeclimate.2.json ./coverage/spec/.resultset.json
|
- "bin/travis_script.sh $TEST_SUITE && $CCTR format-coverage -t simplecov -o ./coverage/codeclimate.2.json ./coverage/spec/.resultset.json"
|
||||||
workspaces:
|
workspaces:
|
||||||
create:
|
create:
|
||||||
name: ws2
|
name: ws2
|
||||||
|
|
@ -71,8 +69,8 @@ jobs:
|
||||||
- <<: *tests
|
- <<: *tests
|
||||||
env:
|
env:
|
||||||
- TEST_SUITE=models
|
- TEST_SUITE=models
|
||||||
after_success:
|
script:
|
||||||
- $CCTR format-coverage -t simplecov -o ./coverage/codeclimate.3.json ./coverage/spec/.resultset.json
|
- "bin/travis_script.sh $TEST_SUITE && $CCTR format-coverage -t simplecov -o ./coverage/codeclimate.3.json ./coverage/spec/.resultset.json"
|
||||||
workspaces:
|
workspaces:
|
||||||
create:
|
create:
|
||||||
name: ws3
|
name: ws3
|
||||||
|
|
@ -81,8 +79,8 @@ jobs:
|
||||||
- <<: *tests
|
- <<: *tests
|
||||||
env:
|
env:
|
||||||
- TEST_SUITE=controllers
|
- TEST_SUITE=controllers
|
||||||
after_success:
|
script:
|
||||||
- $CCTR format-coverage -t simplecov -o ./coverage/codeclimate.4.json ./coverage/spec/.resultset.json
|
- "bin/travis_script.sh $TEST_SUITE && $CCTR format-coverage -t simplecov -o ./coverage/codeclimate.4.json ./coverage/spec/.resultset.json"
|
||||||
workspaces:
|
workspaces:
|
||||||
create:
|
create:
|
||||||
name: ws4
|
name: ws4
|
||||||
|
|
@ -91,14 +89,17 @@ jobs:
|
||||||
- <<: *tests
|
- <<: *tests
|
||||||
env:
|
env:
|
||||||
- TEST_SUITE=features
|
- TEST_SUITE=features
|
||||||
after_success:
|
script:
|
||||||
- $CCTR format-coverage -t simplecov -o ./coverage/codeclimate.5.json ./coverage/spec/.resultset.json
|
- "bin/travis_script.sh $TEST_SUITE && $CCTR format-coverage -t simplecov -o ./coverage/codeclimate.5.json ./coverage/spec/.resultset.json"
|
||||||
workspaces:
|
workspaces:
|
||||||
create:
|
create:
|
||||||
name: ws5
|
name: ws5
|
||||||
paths:
|
paths:
|
||||||
- coverage/codeclimate.5.json
|
- coverage/codeclimate.5.json
|
||||||
- stage: finalize
|
- stage: finalize
|
||||||
|
before_install:
|
||||||
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > $CCTR
|
||||||
|
- chmod +x $CCTR
|
||||||
workspaces:
|
workspaces:
|
||||||
use:
|
use:
|
||||||
- ws1
|
- ws1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue