forked from trezor/python-mnemonic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (34 loc) · 774 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
language: python
# Saves pip downloads/wheels between builds
cache:
directories:
- $HOME/.cache/pip
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
install:
# Optimisation: build requirements as wheels, which get cached by Travis
- pip install "pip>=7.0" wheel
- pip install tox-travis
- |
if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then
pip install black flake8 mypy
fi
script:
- python setup.py install
- |
if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then
black --check . &&
flake8 mnemonic/ ./*.py &&
mypy .
fi
- tox
notifications:
webhooks:
urls:
- http://ci-bot.satoshilabs.com:5000/travis
on_success: always
on_failure: always
on_start: always