mirror of
https://github.com/misskey-dev/SyslogPro.git
synced 2025-04-29 10:47:22 +09:00
added Code Climate
This commit is contained in:
parent
2de0c62d65
commit
3bf9725c7d
13
.travis.yml
13
.travis.yml
@ -1,10 +1,23 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- CC_TEST_REPORTER_ID=d10e83a9263c5cbcb99a4349cb7a46aec4350402acce96095c68f14f925c236f
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- stable
|
- stable
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- npm install
|
- npm install
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||||
|
- chmod +x ./cc-test-reporter
|
||||||
|
- ./cc-test-reporter before-build
|
||||||
|
- bundle exec rspec
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm test
|
- npm test
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
Loading…
x
Reference in New Issue
Block a user