-
Notifications
You must be signed in to change notification settings - Fork 105
/
.travis.yml
46 lines (46 loc) · 3.82 KB
/
.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
43
44
45
46
language: python
sudo: required
services:
- docker
env:
global:
- DOCKER_USERNAME=hydrachain
- secure: Rr+meswIU5zxFWscvMTfumD8Fj23lAaWIQuf2REo9NefTpOUvS3CFaZY/sTFZmUybV/IGSvRXZsQoYxYlrNCsTFqwQh5RXft+A9XjrzK8EPQPxugVROoRaKNrgrCKvfy/4mup2bvCz6xp0EmFILZteMTMoveI8FOJYdEmypHpwc9/HrgB6iGFcH8EB1Ny1kXKjHmubF3jnNtsTmxciFc2+ZuC4yVa7aAZU6DMWK72/tWN6qlR5sTY11nkcuWBI/ot4niAuSkWp4RYhXHPoVeewj+0gWNBWejzID6NWK6+tLUu917+xrmjKt30Whjva3+jsNiKVdBsNuDC9M7AXViBedmfzFaRUThotM9dgqVovG6RKW3Ybdqk4cQZldK3DYOF7uVuZ9CujOlf9zYIuGv6sUihd2j6jxLEgDqpC9yumZUBqAHUqegOUizybINNhpIhcQU83ynceaUARXsPdc6JFZziY9RsjNOFkRwRKo+O7o2OfvnA9XSkIWPF8hnt4hrXHdzuzLKqgbR6spiUczuEhosjf2tNk6KlSFk0+K1vx/lx0jd9GoCKdsO/MGnAmh5M0g2OFW1vaj1/td5tQh06qFiIFULlDfSSdDtH0rNUMTRVbiGDF6NzuECYHZ23s2zIMZAOpVWHlItWlG1faBbkKz9UV0P3lqv2bp5CAuAXqk=
matrix:
- TOXENV=py27
- TOXENV=pypy
addons:
apt:
packages:
- libgmp3-dev
install:
- pip install tox
- pip install coveralls
script: tox -- --ignore hydrachain/tests/test_sim_failures.py --ignore hydrachain/tests/test_sim_syncing.py
after_success:
- coveralls
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME"
-p="$DOCKER_PASSWORD" || true'
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && docker build -t hydrachain/hydrachain:${TRAVIS_TAG:-develop}
. || true'
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && docker push hydrachain/hydrachain:${TRAVIS_TAG:-develop}
|| true'
deploy:
provider: pypi
user: ethereum_pypi_automated
password:
secure: vO6kAkkpdqQz2+Le7aowcIkYHyvQzuNaL35c8ciHzmT2VdeGeCsDBGyJ8RYqITQruwfVzUsKsNjfCXBTcYan3e1vPpG9KKrkxB/Zy6KcNJmd+SL9n2tB6TVFr1ojxnRJgIzFBxbA1FnyY0aodwnMW2bJBlKxFIKJiKVjK6GGDl11wrMsudFFnvs3LkrPO9tr1plmN1xvVTNLzy0UmHjx6lmtjtZ/HMbx635WnFj5NnzdeMK07XD59HEuOYVvQ7BQua2cuCevFbXmSAxHJsDPZuhzYHkEfj+jPhKbS1MyTqD5W72ex2oPRmPlvvnOn01750IkSFSyO0lnZIv1wJuZ3+Y+49Q5XrFBAsuC4bqk1uOVL5hU37b2oDBIunJLQYEP1tn7TibVbv51iOolzx193tRR7KcbyU+pIqdP4a6rWDXT+PRada2JemX/Bx4G5hn9dXc4SmLP0+t7lcYpe/fTLQCGYsLNBbJv7iJdTuOeySX8Dlq9GYBMGreilDwIp5T4eqT4mhc25ZaXRel2HdqQSzie8SM88Sempn1V3uQkvQSUZ/PcwDwrG8wLK37BubaW0qVAZ5Zfkv1Q+pnVd7OkTEU+GgdOST6H3WGKVSO0fs/vLFYhQN0273IqM3Uuh3+s5h/sbGWfXqPMS8lu6febpglBCAxvkgKjwQ0in2S3Fo8=
on:
tags: true
repo: HydraChain/hydrachain
branch: develop
distributions: sdist bdist_wheel
after_deploy:
- docker tag hydrachain/hydrachain:$TRAVIS_TAG hydrachain/hydrachain:latest
- docker push hydrachain/hydrachain:latest
notifications:
slack:
secure: qJyYhNa9Ld427maaO5s2aVtiKYpQfzow0oGP56LGoJVkxO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