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

53 lines
1.1 KiB
YAML
Raw Normal View History

2018-09-03 10:36:58 +02:00
language: node_js
node_js:
2018-12-19 10:10:53 +01:00
- "10"
2018-09-03 10:36:58 +02:00
services:
2018-12-19 10:10:53 +01:00
- docker
2018-09-03 10:36:58 +02:00
cache:
directories:
2018-12-19 10:10:53 +01:00
- node_modules
2018-09-03 10:36:58 +02:00
matrix:
fast_finish: true
before_install:
2018-12-19 10:10:53 +01:00
- npm install -g npm
- npm install -g codacy-coverage release-it greenkeeper-lockfile ganache-cli@~6.1.8
2018-09-10 10:24:14 +02:00
before_script:
2018-12-19 10:10:53 +01:00
- greenkeeper-lockfile-update
2019-01-11 11:17:42 +01:00
- ganache-cli --port 18545 > ganache-cli.log &
- git clone https://github.com/oceanprotocol/barge
- cd barge
2019-04-01 17:02:59 +02:00
- export KEEPER_VERSION=v0.9.0
2019-03-07 15:52:40 +01:00
- export KEEPER_OWNER_ROLE_ADDRESS="0xe2DD09d719Da89e5a3D0F2549c7E24566e947260"
2019-03-18 13:04:59 +01:00
- bash -x start_ocean.sh --latest --no-pleuston --local-spree-node 2>&1 > start_ocean.log &
2019-01-11 11:17:42 +01:00
- cd ..
2019-02-22 10:22:46 +01:00
- ./scripts/unlock-spree-accounts.sh 2>&1 > /dev/null &
2018-09-03 10:36:58 +02:00
script:
2019-01-11 11:17:42 +01:00
- export ETH_PORT=18545; npm run test:cover
2018-12-19 10:10:53 +01:00
- npm run build
- npm run doc
2019-02-08 15:52:25 +01:00
- ./scripts/wait_for_migration_and_extract_keeper_artifacts.sh
2019-03-18 15:02:34 +01:00
- npm run integration:cover
- npm run merge-coverages
- npm run report-coverage
2018-09-03 10:36:58 +02:00
2018-09-10 10:24:14 +02:00
after_script:
2018-12-19 10:10:53 +01:00
- greenkeeper-lockfile-upload
2018-09-10 10:24:14 +02:00
2018-09-03 10:36:58 +02:00
notifications:
2018-11-06 12:00:19 +01:00
email: false
deploy:
2018-12-19 10:10:53 +01:00
- provider: npm
email: "devops@oceanprotocol.com"
api_key: ${NPM_TOKEN}
skip_cleanup: true
on:
tags: true
2018-11-07 10:16:15 +01:00