forked from oceanprotocol/provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (34 loc) · 803 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: python
python:
- "3.6"
dist: xenial
sudo: false
services:
- docker
before_install:
- git clone https://github.com/oceanprotocol/barge
- cd barge
- git checkout v3
- export AQUARIUS_VERSION=v3
- export CONTRACTS_VERSION=latest
- bash -x start_ocean.sh --no-dashboard --no-provider 2>&1 > start_ocean.log &
- cd ..
- |
for i in $(seq 1 50); do
sleep 5
[ -f "${HOME}/.ocean/ocean-contracts/artifacts/ready" ] && break
done
ls -la "${HOME}/.ocean/ocean-contracts/artifacts/"
install: pip install -U tox-travis
script: tox
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: ${PYPI_USER}
password: ${PYPI_PASSWORD}
on:
tags: true
repo: oceanprotocol/provider-py
python: 3.6
notifications:
email: false