1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
commons/.travis.yml
2019-05-06 16:40:14 +02:00

30 lines
488 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:
directories:
- node_modules
deploy:
- provider: script
skip_cleanup: true
script: bash -ex ./scripts/deploy_on_k8s.sh
on:
tags: true
all_branches: true