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

32 lines
540 B
YAML
Raw Normal View History

2019-04-24 13:31:17 +02:00
dist: xenial
2019-03-07 14:56:07 +01:00
language: node_js
2019-04-24 13:31:17 +02:00
node_js:
- '11'
2019-03-07 14:56:07 +01:00
2019-04-30 12:21:43 +02:00
before_install:
- npm install -g npm
- npm install -g codacy-coverage
2019-03-24 02:10:00 +01:00
script:
2019-04-01 12:20:42 +02:00
# - ./scripts/install.sh # runs automatically with npm ci
2019-03-24 02:10:00 +01:00
- ./scripts/test.sh
2019-04-30 12:21:43 +02:00
- ./scripts/coverage.sh
2019-03-24 02:18:53 +01:00
- ./scripts/build.sh
2019-03-07 14:56:07 +01:00
notifications:
email: false
2019-04-12 16:44:33 +02:00
cache:
directories:
- node_modules
- client/node_modules
- server/node_modules
2019-04-08 16:41:59 +02:00
deploy:
- provider: script
skip_cleanup: true
script: bash -ex ./scripts/deploy_on_k8s.sh
on:
tags: true
all_branches: true