-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (48 loc) · 1.61 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
47
48
language: python
python: '3.5'
sudo: false
env:
matrix:
- TOXENV=py27
- TOXENV=py34
- TOXENV=py35
before_install:
- python --version
- uname -a
- lsb_release -a
install:
- pip install codecov
- pip install tox
- virtualenv --version
- pip --version
- tox --version
before_script:
- wget 'https://releases.hashicorp.com/consul/0.6.3/consul_0.6.3_linux_amd64.zip'
- unzip "consul_0.6.3_linux_amd64.zip"
- ./consul --version
script:
- ./consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul &
- tox -v
after_success:
- codecov
deploy:
provider: pypi
user: billy.shambrook
password:
secure: PDnaQH8W0v6cPSPSktcuZ/H5iMkWbyMTtL5FhWoLcv/vq+daWbQniKivjB1kkUXNpTLsfsZSiDNEuIYRFMmeiA8EzrBuiVqSg9p77R/WrZv3pzkkzEkMuLR4ENPUbI57QNpC2yo3hgfMP/BFS8CxLpr5w0MNOOpaP5eGHnyIE488IS5UzocY3uUGCZXXTjwvi1MyFxYD7GFZn/bs70mg4CbJFYOr7I07BDCd47eamAqZNrxUU7JkAh8TiWZwBS3XrflqAg7ESc7xa/Ogsf6d2R6tbsubrZOMYkIETNLeptPGGzlQBb8EOv/vH1XkVhu9c9YOtJELQSNvVEtwnANyRLAOkKVB1ouCue9Y1uQdQ4SGV8cSwqOzspEZDEhirauX3zmM3xYHqRwdBNHJ9hJMYjEAC8Sffn4Vbb/xY8m3PC5553BcXENm2oAxsuOest0R6FJ7VqQsAnpqmkW0BbuobRD5lo3Beuw8frIWfq8CqoI9iKIS2VGE8B0jdeHvolmc+MT3/t66vKuGzWviUeEEVgia2rD+qAOczejFVOz4N1RgOl1Ugg4lvZMUDDMfeWPpruabtfX8frkjNLoRTSD3Cq9wmxunizRfirHjnRda+hs8XN0C/oYijMcmCCiQD6xLfj2C16DfWqvy4HvU0318t+r0JSW6Gol0Rrzc44Qe5J4=
on:
tags: true
distributions: sdist bdist_wheel
repo: billyshambrook/taskman
after_failure:
- more .tox/log/* | cat
- more .tox/*/log/* | cat
before_cache:
- rm -rf $HOME/.cache/pip/log
cache:
directories:
- $HOME/.cache/pip
notifications:
email:
on_success: never
on_failure: always