From a2c0c37adc8ca408975de51da26f356c83c064ec Mon Sep 17 00:00:00 2001 From: Ahmed Ali Date: Mon, 8 Jun 2020 12:32:02 +0200 Subject: [PATCH] setup travis configs --- .travis.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 32c1e3c63..8480246b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,4 +25,13 @@ script: - npm run lint - npm run test:cover - npm run deploy - # - npm run test:echidna \ No newline at end of file + + deploy: + - provider: npm + email: "devops@oceanprotocol.com" + api_key: ${NPM_TOKEN} + skip_cleanup: true + on: + tags: true + all_branches: true + condition: $DEPLOY_PACKAGE = true \ No newline at end of file