forked from tecnovert/particl-coldstakepool
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
36 lines (36 loc) · 972 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
dist: bionic
os: linux
language: python
python: '3.7'
cache:
directories:
- $HOME/particl-binaries
stages:
- lint
env:
before_install:
- sudo apt-get install -y wget gnupg2 libleveldb-dev
install:
- travis_retry pip install tox
- gpg --import releasepubkeys/particl_tecnovert.pgp
script:
- tox
after_success:
- echo "End test"
jobs:
include:
# lint stage
- stage: lint
env:
cache: false
language: python
python: '3.7'
install:
- travis_retry pip install flake8==3.5.0
- travis_retry pip install codespell==1.15.0
before_script:
script:
- PYTHONWARNINGS="ignore" flake8 --ignore=E501,F841,W503 --exclude=coldstakepool/contrib,.eggs,.tox
- codespell --check-filenames --disable-colors --quiet-level=7 --ignore-words=tests/lint/spelling.ignore-words.txt -S .git,.eggs,.tox,releasepubkeys,*.pyc,*mnemonics.py,coldstakepool/contrib
after_success:
- echo "End lint"