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

38 lines
606 B
YAML

dist: xenial
language: node_js
node_js:
- '11'
addons:
apt:
packages:
# for Cypress
- libgconf-2-4
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: true
directories:
# cache folder with Cypress binary
- ~/.cache
deploy:
- provider: script
skip_cleanup: true
script: bash -ex ./scripts/deploy_on_k8s.sh
on:
tags: true
all_branches: true