1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
squid-js/.travis.yml
2019-04-30 19:35:34 +02:00

53 lines
1.1 KiB
YAML

language: node_js
node_js:
- "10"
services:
- docker
cache:
directories:
- node_modules
matrix:
fast_finish: true
before_install:
- npm install -g npm
- npm install -g codacy-coverage release-it greenkeeper-lockfile ganache-cli@~6.1.8
before_script:
- greenkeeper-lockfile-update
- ganache-cli --port 18545 > ganache-cli.log &
- git clone https://github.com/oceanprotocol/barge
- cd barge
- export AQUARIUS_VERSION=v0.2.2
- export BRIZO_VERSION=v0.3.6
- export KEEPER_VERSION=v0.9.7
- export KEEPER_OWNER_ROLE_ADDRESS="0xe2DD09d719Da89e5a3D0F2549c7E24566e947260"
- bash -x start_ocean.sh --latest --no-pleuston --local-spree-node 2>&1 > start_ocean.log &
- cd ..
script:
- export ETH_PORT=18545; npm run test:cover
- npm run build
- npm run doc
- ./scripts/wait_for_migration_and_extract_keeper_artifacts.sh
- npm run integration:cover
- npm run report-coverage
after_script:
- greenkeeper-lockfile-upload
notifications:
email: false
deploy:
- provider: npm
email: "devops@oceanprotocol.com"
api_key: ${NPM_TOKEN}
skip_cleanup: true
on:
tags: true