forked from Turbo87/aerofiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (35 loc) · 940 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
40
41
language: python
python: 2.7
matrix:
include:
- python: 2.7
env: TOX_ENV=py27
- python: 3.4
env: TOX_ENV=py34
- python: 3.5
env: TOX_ENV=py35
- python: 3.6
env: TOX_ENV=py36
- python: pypy
env: TOX_ENV=pypy
install:
# Install tox and flake8 style checker
- pip install tox==2.9.1 flake8==2.1.0
script:
# Run the library through flake8
- flake8 --exclude=".git,docs" --ignore=E501 .
# Run the unit test suite
- tox -e $TOX_ENV -- --cov aerofiles --cov-report term-missing
after_success:
# Report coverage results to coveralls.io
- pip install coveralls==0.4.2
- coveralls
deploy:
provider: pypi
user: Tobias.Bieniek
password:
secure: nyCow38ZEMiLmdYWnSTAOzigFQSEOwHv0AHMF8dQQd3zTOF0pA128C5L2vIrrAdjlK5mS7yUIojwbuvDyZ9ZFV01LQil9/Cy2kV4NQ4mbPtdHIIyNacBT6TyZtHSRBALswNPdFsM2Ony1SH6bdS/b4CYxm/sU+OuzhsitAETzwU=
on:
tags: true
python: '3.6'
repo: Turbo87/aerofiles