forked from tomasbedrich/pycaching
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (40 loc) · 1.14 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
language: python
matrix:
include:
# Linux runners.
- python: 3.5
- python: 3.6
- python: 3.7
dist: xenial
# Windows runners.
- name: "Python 3.7 on Windows"
os: windows
language: shell # `language: python` is not supported for now.
before_install:
- choco install python --version 3.7.7
- python --version # Display the used version.
- python -m pip install --upgrade pip
install:
- python setup.py build install
- pip install --upgrade coveralls
script:
- python setup.py lint test
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
install:
- python3 setup.py build install
- pip install --upgrade coveralls
script:
python3 setup.py lint test
after_success:
coveralls
deploy:
provider: pypi
skip_existing: true
user: tomasbedrich
password:
secure: AmAJqaSOJprmoh4l7pLcDcRn2JRyAN6VbrFyezYmdHTd27jECIfm6jDPUo7N+PldUIxas5KonLxeJMF0Xx9vqr/HWwBSZo0e5JWs2+E5luFRF1Evw22VfNpyRQawHB2a47SUUTR82sypGF2v/mgeJJioSuIKo4o0KZ450zUoeM4=
on:
tags: true
branch: master
python: 3.6
distributions: sdist bdist_wheel bdist_egg