diff --git a/.gitignore b/.gitignore index d10507a6..c8460a23 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ dist /sample /coverage .coveralls.yml -.nyc_output \ No newline at end of file +.nyc_output +secrets.zip \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 48e84d3c..0e53b8f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,13 @@ - sudo: required language: node_js node_js: - - '10' +- '10' install: - - npm install +- npm install script: - - npm test +- npm run compile +- npm test +- npm run coveralls +before_install: +- openssl aes-256-cbc -K $encrypted_8c2b83827436_key -iv $encrypted_8c2b83827436_iv + -in secrets.zip.enc -out secrets.zip -d diff --git a/package.json b/package.json index 4b23e82e..34e6c9c6 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "dist/index.js", "scripts": { "compile": "rm -rf dist/ && tsc", - "test": "mocha -r source-map-support/register -r ts-node/register --recursive test/**/*.spec.ts", + "test": "nyc --reporter=text --reporter=lcov mocha -r source-map-support/register -r ts-node/register --recursive test/**/*.spec.ts", "coveralls": "cat ./coverage/lcov.info | coveralls -v" }, "keywords": [], diff --git a/secrets.zip.enc b/secrets.zip.enc new file mode 100644 index 00000000..6d6c4bc7 Binary files /dev/null and b/secrets.zip.enc differ