@@ -2,118 +2,118 @@ sudo: false
2
2
language : python
3
3
os : linux
4
4
install :
5
- - &upgrade_python_toolset pip install --upgrade pip setuptools wheel
6
- - pip install --upgrade pytest pytest-sugar
7
- - &install_deps pip install -r CI_REQUIREMENTS.txt
8
- - pip install --upgrade pytest-cov coveralls
5
+ - &upgrade_python_toolset pip install --upgrade pip setuptools wheel
6
+ - pip install --upgrade pytest pytest-sugar
7
+ - &install_deps pip install -r CI_REQUIREMENTS.txt
8
+ - pip install --upgrade pytest-cov coveralls
9
9
10
10
_python :
11
- - &python27
12
- name : " Python 2.7"
13
- python : " 2.7"
14
- - &pypy
15
- name : " PyPy"
16
- python : " pypy"
17
- - &python37
18
- name : " Python 3.7"
19
- python : " 3.7"
20
- dist : xenial
21
- sudo : true
11
+ - &python27
12
+ name : " Python 2.7"
13
+ python : " 2.7"
14
+ - &pypy
15
+ name : " PyPy"
16
+ python : " pypy"
17
+ - &python37
18
+ name : " Python 3.7"
19
+ python : " 3.7"
20
+ dist : xenial
21
+ sudo : true
22
22
23
23
_helpers :
24
- - &build_package python setup.py bdist_wheel
24
+ - &build_package python setup.py bdist_wheel
25
25
26
- - &static_analysis
27
- stage : Static analysis
28
- << : *python27
29
- after_success : skip
26
+ - &static_analysis
27
+ stage : Static analysis
28
+ << : *python27
29
+ after_success : skip
30
30
31
- - &code_style_check
32
- stage : Code style check
33
- << : *python27
34
- after_success : skip
31
+ - &code_style_check
32
+ stage : Code style check
33
+ << : *python27
34
+ after_success : skip
35
35
36
36
script :
37
- - pip install -e .
38
- - py.test -vv --cov-config .coveragerc --cov-report= --cov=threaded test
39
- - coverage report -m --fail-under 87
37
+ - python setup.py develop -v
38
+ - py.test -vv --cov-config .coveragerc --cov-report= --cov=threaded test
39
+ - coverage report -m --fail-under 87
40
40
after_success :
41
- - coveralls
41
+ - coveralls
42
42
43
43
jobs :
44
44
include :
45
- - << : *static_analysis
46
- name : " PyLint"
47
- install :
48
- - *upgrade_python_toolset
49
- - *install_deps
50
- - pip install --upgrade "pylint < 2.0"
51
- script :
52
- - pylint threaded
53
- - << : *static_analysis
54
- name : " Bandit"
55
- install :
56
- - *upgrade_python_toolset
57
- - pip install --upgrade bandit
58
- script :
59
- - bandit -r threaded
60
- - << : *static_analysis
61
- << : *python37
62
- name : " MyPy"
63
- install :
64
- - *upgrade_python_toolset
65
- - *install_deps
66
- - pip install --upgrade "mypy >= 0.670"
67
- script :
68
- - mypy --strict threaded
69
- - << : *static_analysis
70
- name : " PEP8"
71
- install :
72
- - *upgrade_python_toolset
73
- - pip install --upgrade flake8
74
- script :
75
- - flake8
45
+ - << : *static_analysis
46
+ name : " PyLint"
47
+ install :
48
+ - *upgrade_python_toolset
49
+ - *install_deps
50
+ - pip install --upgrade "pylint < 2.0"
51
+ script :
52
+ - pylint threaded
53
+ - << : *static_analysis
54
+ name : " Bandit"
55
+ install :
56
+ - *upgrade_python_toolset
57
+ - pip install --upgrade bandit
58
+ script :
59
+ - bandit -r threaded
60
+ - << : *static_analysis
61
+ << : *python37
62
+ name : " MyPy"
63
+ install :
64
+ - *upgrade_python_toolset
65
+ - *install_deps
66
+ - pip install --upgrade "mypy >= 0.670"
67
+ script :
68
+ - mypy --strict threaded
69
+ - << : *static_analysis
70
+ name : " PEP8"
71
+ install :
72
+ - *upgrade_python_toolset
73
+ - pip install --upgrade flake8
74
+ script :
75
+ - flake8
76
76
77
- # - <<: *code_style_check
78
- # name: "PEP257"
79
- # install:
80
- # - *upgrade_python_toolset
81
- # - pip install --upgrade pydocstyle
82
- # script:
83
- # - pydocstyle threaded
77
+ # - <<: *code_style_check
78
+ # name: "PEP257"
79
+ # install:
80
+ # - *upgrade_python_toolset
81
+ # - pip install --upgrade pydocstyle
82
+ # script:
83
+ # - pydocstyle threaded
84
84
85
- - stage : test
86
- << : *python27
87
- - stage : test
88
- << : *pypy
89
- allow_failure : true
85
+ - stage : test
86
+ << : *python27
87
+ - stage : test
88
+ << : *pypy
89
+ allow_failure : true
90
90
91
- - stage : deploy
92
- # This prevents job from appearing in test plan unless commit is tagged:
93
- if : tag IS present
94
- << : *pypy
95
- name : Build universal bdist_wheel. Deploy bdist and sdist.
96
- services : []
97
- install :
98
- - *upgrade_python_toolset
99
- - pip install -r build_requirements.txt
100
- script :
101
- - *build_package
102
- before_deploy : []
103
- deploy :
104
- - provider : pypi
105
- # `skip_cleanup: true` is required to preserve binary wheels, built
106
- # inside of manylinux1 docker container during `script` step above.
107
- skip_cleanup : true
108
- user : penguinolog
109
- password :
110
- secure : " h1gXulNJxdjdUtPXDwUf/2MltjjiTy/cSsv+67Bxr9PAXSo9s0ynnhijKavE0QlKPr0NDJcEcl79dEN3gx1rkbAFZ+YRJfx0KHy26ImNAIx+npOFjGko87KhMNkrE3QBn9carWNnjYA4rCuUqbv/Znk9xixleE/sHJbKnkkTrerSI2jkznMa6h0FNVCEPzFesHmll7rBy4CjFkRcWNX8nfKNIV9rHFI7mXm8+jzl0msOnkEcKRqAk+MUwVjcD9XtpF42uA0nQTtqjWFdwSUxxBJKMyrkkI0o8Uk06EewkgJGwjGpvn+EUm1hBpjGrXUQQJyr20SZdC0CqaqXD/axISAtQPzP5I4Ey3VkLDV4mZuQjeNlbRbTH0Q7af+CpnOpFtYobIs1/HjB5wztazegT8uk4ZU/GheYqknXmtg9Ga8NV47sIpLC/hTLXWP+O/k0JKRYP9CgjTml2nLykNjZy4KRnlCUerYH8d4bNz687ElXU2bLtlBxyigUc9oo31DvNG+vB2axOp8wGiRTEpfBVPEF6EYUj+qSbX4ep4o/mWp+ax5YlLVYVoXkXpNecIggICAChIkqEl9MtGzTu31s3sBKpk9WuqoyHG80TDo2Tet6zWYx3itUx9M0SLkrML9Hs5WKsXDZE6jZrVHtx8lWuuZZl5JQkXYtd358lwJmEBM="
111
- on :
112
- tags : true
113
- distributions : sdist
114
- skip_upload_docs : true
115
- skip_existing : true
91
+ - stage : deploy
92
+ # This prevents job from appearing in test plan unless commit is tagged:
93
+ if : tag IS present
94
+ << : *pypy
95
+ name : Build universal bdist_wheel. Deploy bdist and sdist.
96
+ services : []
97
+ install :
98
+ - *upgrade_python_toolset
99
+ - pip install -r build_requirements.txt
100
+ script :
101
+ - *build_package
102
+ before_deploy : []
103
+ deploy :
104
+ - provider : pypi
105
+ # `skip_cleanup: true` is required to preserve binary wheels, built
106
+ # inside of manylinux1 docker container during `script` step above.
107
+ skip_cleanup : true
108
+ user : penguinolog
109
+ password :
110
+ secure : " h1gXulNJxdjdUtPXDwUf/2MltjjiTy/cSsv+67Bxr9PAXSo9s0ynnhijKavE0QlKPr0NDJcEcl79dEN3gx1rkbAFZ+YRJfx0KHy26ImNAIx+npOFjGko87KhMNkrE3QBn9carWNnjYA4rCuUqbv/Znk9xixleE/sHJbKnkkTrerSI2jkznMa6h0FNVCEPzFesHmll7rBy4CjFkRcWNX8nfKNIV9rHFI7mXm8+jzl0msOnkEcKRqAk+MUwVjcD9XtpF42uA0nQTtqjWFdwSUxxBJKMyrkkI0o8Uk06EewkgJGwjGpvn+EUm1hBpjGrXUQQJyr20SZdC0CqaqXD/axISAtQPzP5I4Ey3VkLDV4mZuQjeNlbRbTH0Q7af+CpnOpFtYobIs1/HjB5wztazegT8uk4ZU/GheYqknXmtg9Ga8NV47sIpLC/hTLXWP+O/k0JKRYP9CgjTml2nLykNjZy4KRnlCUerYH8d4bNz687ElXU2bLtlBxyigUc9oo31DvNG+vB2axOp8wGiRTEpfBVPEF6EYUj+qSbX4ep4o/mWp+ax5YlLVYVoXkXpNecIggICAChIkqEl9MtGzTu31s3sBKpk9WuqoyHG80TDo2Tet6zWYx3itUx9M0SLkrML9Hs5WKsXDZE6jZrVHtx8lWuuZZl5JQkXYtd358lwJmEBM="
111
+ on :
112
+ tags : true
113
+ distributions : sdist
114
+ skip_upload_docs : true
115
+ skip_existing : true
116
116
117
117
cache : pip
118
118
before_cache :
119
- - rm -f $HOME/.cache/pip/log/debug.log
119
+ - rm -f $HOME/.cache/pip/log/debug.log
0 commit comments