1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
commons/.travis.yml

28 lines
458 B
YAML

dist: xenial
language: node_js
node_js:
- '11'
before_install:
- npm install -g npm
- npm install -g codacy-coverage
script:
# - ./scripts/install.sh # runs automatically with npm ci
- ./scripts/test.sh
- ./scripts/coverage.sh
- ./scripts/build.sh
notifications:
email: false
cache: npm
deploy:
- provider: script
skip_cleanup: true
script: bash -ex ./scripts/deploy_on_k8s.sh
on:
tags: true
all_branches: true