1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

fix travis

This commit is contained in:
alexcos20 2020-09-15 01:28:37 -07:00
parent c37c169d6a
commit d93c31abac
2 changed files with 7 additions and 1 deletions

View File

@ -23,9 +23,10 @@ before_script:
- export PROVIDER_VERSION=latest
- export ADDRESS_FILE="${HOME}/.ocean/ocean-contracts/artifacts/address.json"
- export AQUARIUS_URI="http://172.15.0.5:5000"
- export DEPLOY_CONTRACTS=true
- bash -x start_ocean.sh --no-dashboard 2>&1 > start_ocean.log &
- cd ..
- sleep 300
- ./scripts/waitforcontracts.sh
script:
- npm test

View File

@ -0,0 +1,5 @@
if [ "${DEPLOY_CONTRACTS}" = "true" ]; then
while [ ! -f "${HOME}/.ocean/ocean-contracts/artifacts/ready" ]; do
sleep 2
done
fi