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:
parent
c37c169d6a
commit
d93c31abac
@ -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
|
||||
|
5
scripts/waitforcontracts.sh
Normal file
5
scripts/waitforcontracts.sh
Normal file
@ -0,0 +1,5 @@
|
||||
if [ "${DEPLOY_CONTRACTS}" = "true" ]; then
|
||||
while [ ! -f "${HOME}/.ocean/ocean-contracts/artifacts/ready" ]; do
|
||||
sleep 2
|
||||
done
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user