Skip to content

Commit 7f13fd0

Browse files
author
regic
committed
Add single script
1 parent 34f7261 commit 7f13fd0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@ jobs:
2121
- stage: test
2222
include:
2323
- stage: test
24-
script:
25-
- bundle exec rspec
26-
- STATUS=$? && /tmp/coverage/cc-test-reporter format-coverage -t simplecov -o /tmp/coverage/codeclimate.rspec.json && ls -alFX /tmp/coverage && if [[ "$STATUS" == 1 ]]; then touch /tmp/coverage/fail && echo "RSPEC_FAIL"; else echo "RSPEC_PASS"; fi
24+
script: bundle exec rspec; STATUS=$? && /tmp/coverage/cc-test-reporter format-coverage -t simplecov -o /tmp/coverage/codeclimate.rspec.json && if [[ "$STATUS" == 1 ]]; then touch /tmp/coverage/fail; fi
2725
workspaces:
2826
create:
2927
name: rspec
3028
paths: /tmp/coverage
3129
- stage: test
32-
script: bundle exec cucumber; STATUS=$?; /tmp/coverage/cc-test-reporter format-coverage -t simplecov -o /tmp/coverage/codeclimate.cucumber.json; ls -alFX /tmp/coverage; if [[ "$STATUS" == 1 ]]; then touch /tmp/coverage/fail && echo "CUCUMBER_FAIL" && exit 1; else echo "CUCUMBER_PASS"; fi
30+
script: bundle exec cucumber; STATUS=$? && /tmp/coverage/cc-test-reporter format-coverage -t simplecov -o /tmp/coverage/codeclimate.cucumber.json && if [[ "$STATUS" == 1 ]]; then touch /tmp/coverage/fail; fi
3331
workspaces:
3432
create:
3533
name: cucumber

0 commit comments

Comments
 (0)