File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,24 @@ python:
23
23
stages:
24
24
- test
25
25
- lint
26
+
27
+ .disable_global: &disable_global
28
+ before_install: false
29
+ install: true
30
+ before_script: false
31
+ after_success: false
32
+ after_failure: false
33
+
34
+ .lint: &lint
35
+ <<: *disable_global
36
+ python: 3.6
37
+ stage: lint
38
+ install: pip install flake8
39
+ script: flake8
40
+
26
41
jobs:
27
42
include:
28
- - stage: lint
29
- python: 3.6
30
- script: make lint
43
+ - *lint
31
44
32
45
stage: test
33
46
@@ -36,7 +49,6 @@ script: make test
36
49
before_install:
37
50
{% block custom_install %}
38
51
{% endblock%}
39
- - if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
40
52
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
41
53
mv min_requirements.txt requirements.txt ;
42
54
fi
You can’t perform that action at this time.
0 commit comments