forked from graphql-python/graphene-tornado
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (59 loc) · 1.68 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
57
58
59
language: python
sudo: required
dist: xenial
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
install:
- |
if [ "$TEST_TYPE" = build ]; then
pip install -e .[test]
python setup.py develop
elif [ "$TEST_TYPE" = lint ]; then
pip install flake8
fi
script:
- |
if [ "$TEST_TYPE" = lint ]; then
echo "Checking Python code lint."
flake8 graphene_tornado
exit
elif [ "$TEST_TYPE" = build ]; then
py.test --cov=graphene_tornado graphene_tornado examples
fi
after_success:
- |
if [ "$TEST_TYPE" = build ]; then
coveralls
fi
env:
matrix:
- TEST_TYPE=build
matrix:
fast_finish: true
include:
- python: '2.7'
env: TEST_TYPE=build
- python: '3.4'
env: TEST_TYPE=build
- python: '3.5'
env: TEST_TYPE=build
- python: '3.6'
env: TEST_TYPE=build
- python: '3.7'
env: TEST_TYPE=build
- python: '2.7'
env: TEST_TYPE=lint
- python: '3.7'
env: TEST_TYPE=lint
deploy:
provider: pypi
user: ewhauser
skip_existing: true
on:
tags: true
password:
secure: pdZGNHjop+aRXk0YDdoD2iWqDPRUXrGRd1QP2R3ITUgvSCTbUoEK6ePQFSS9EXgO8nLJLWUOJ5UxjfnCUL4eBj0wET4OROI0hR9Z6Q5F5eXULxNp4q4ekexeaDxcmYO5wmSA6y+D3RFFlgUXFx88NN+foC0PusaG17g4S5E45euinsF9OwP5BjtkUVIBo6McM+UIq7OGFP4ue29P+PXWjRMbZ3XLDR26tRsySt6g86xwZdMvmLl4uDsaQ6blRvHUlWBbw4+uCyus6dz8FJsUFVwiDNVzgqIBW+djSh7mtOBkRf63eORLXfjWA6R3BR8+KKjoix8oIH3ZGSnv1PjkSE9+r6eWEeUwWzSgTzcY/30IDGY3Ca1bA8APk87Glq6SnXsOl5opWPB6CJM63Ygkg7R2+tpTSYxykXXAMevdbKoaZnwZA3lc/NBbnPq0anbEg82M8rdpi6Xt9M9XPYmrMZtB1X8xj2bjsmBwEV5piHEfc0w3JBgJzK6tfGmbHV1JPf3Sn01e7LNBaE1/tHGZnI4DXJNmB/JPxKl1ZM6lRJlfEvLX1XCMziPC4OaotVO8ZuiwQq//CVNjy3cji/dCiutF0qMvfp24Ai1WDtDgh1VMvEru8rRjWwRPvh8bz/eWrrTQH2CUjRULFkpSqeoJaRJhYigMZSryKvgUwMQVJew=