forked from ClearcodeHQ/mirakuru
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (56 loc) · 1.25 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
49
50
51
52
53
54
55
56
dist: xenial
language: python
conditions: v1
python:
- 3.8
- 3.7
- 3.6
- nightly
- pypy3
# blocklist branches
branches:
except:
- requires-io-master
- /^dependabot.*$/
install:
- pip install "setuptools>=21"
- pip install "pip>=9"
- pip install -r requirements-test.txt
- pip install coveralls
script:
- pytest
after_success:
- coveralls
jobs:
include:
- stage: linters
install:
- pip install -r requirements-lint.txt
script:
- pycodestyle
- pydocstyle
- pylint mirakuru tests
- mypy src tests
- rst-lint *.rst
after_success: skip
- stage: osx
language: generic
os: osx
before_install:
- pip3 install virtualenv
- virtualenv venv -p python3
- source venv/bin/activate
script:
- pytest
- stage: deploy
if: tag IS present
script: skip
deploy:
provider: pypi
user: fizyk
password:
secure: IBVXG0zLKsBkzdeoC33Lxir01jbvDHdjQ81CPC8PbDPCmUozXgf9eqRFV5VOIYQOboTBzQYRq7RB8efeNKSH3nKf73iahwIYf4ezIxRzUaMzoY4GkyrC/0fQhMk1lAjexrRM1f2o7TIAALPUDyB/EaRcPCBEghxscQEeTlAw08c=
on:
tags: true
repo: ClearcodeHQ/mirakuru
distributions: sdist bdist_wheel