From 1685156a9ece68fd4f9a538868bbd1adc39c8a7a Mon Sep 17 00:00:00 2001 From: Jamil Omar Date: Wed, 17 Jul 2019 16:06:25 -0400 Subject: [PATCH] fix: do build in travis and codecov --- .travis.yml | 6 +++++- codecov.yml | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 codecov.yml diff --git a/.travis.yml b/.travis.yml index c211114..0a45ea9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,8 +11,12 @@ before_install: echo "//registry.npmjs.org/:_authToken=\${NPM_INSTALL_TOKEN}" > ~/.npmrc; fi - 'git config --global url."git@github.com:".insteadOf "https://github.com/"' + +install: + - npm install -g codecov + - npm install + - npm run build script: - - npm i -g codecov - npm test - >- npm run coverage && cat ./coverage/lcov.info | diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..44c17a3 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +codecov: + token: 2d27f251-9f21-4912-9d9a-6e94d2f6c4c1 \ No newline at end of file