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 - bash -x start_ocean.sh --latest --no-brizo --no-pleuston --local-nile-node 2>&1 > start_ocean.log & - cd .. script: - export ETH_PORT=18545; npm run test:cover - npm run report-coverage - npm run build - npm run doc - ./src/examples/fire_lazers.sh 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