Skip to content

Commit 65e3083

Browse files
committed
setup travis and integration with codeclimate and codebeat
1 parent 9858cbe commit 65e3083

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: node_js
2+
node_js:
3+
- stable
4+
env:
5+
- CODECLIMATE_REPO_TOKEN=81d6af056eb99397e5d254956816ac04c01b8a9295d16cf238a271291becbcb9
6+
- CODECLIMATE_API_HOST=https://codebeat.co/webhooks/code_coverage CODECLIMATE_REPO_TOKEN=e8be9dff-117b-436d-92c4-1b91aed35e33
7+
before_install:
8+
- export CHROME_BIN=chromium-browser
9+
- export DISPLAY=:99.0
10+
- sh -e /etc/init.d/xvfb start
11+
- yarn config set registry "https://registry.npmjs.org"
12+
- yarn global add greenkeeper-lockfile@1
13+
- yarn global add codeclimate-test-reporter
14+
before_script:
15+
- greenkeeper-lockfile-update
16+
script:
17+
- yarn test
18+
after_script:
19+
- greenkeeper-lockfile-upload
20+
after_success:
21+
- codeclimate-test-reporter < coverage/lcov.info

0 commit comments

Comments
 (0)