File tree Expand file tree Collapse file tree 3 files changed +48
-13
lines changed Expand file tree Collapse file tree 3 files changed +48
-13
lines changed Original file line number Diff line number Diff line change
1
+ {% extends "travis.yml.jj2" %}
2
+ {%block extra_matrix %}
3
+ matrix:
4
+ include:
5
+ - python: 3.6
6
+ env: MINREQ=1
7
+ {%endblock%}
8
+ {%block custom_python_versions%}
9
+ python:
10
+ - 3.8
11
+ - 3.7
12
+ - 3.6
13
+ {%endblock%}
14
+ {%block pypi_deployment%}
15
+ {%endblock %}
Original file line number Diff line number Diff line change 6
6
- " tests/requirements.txt " : " tests/requirements.txt"
7
7
- " docs/source/conf.py " : " docs/source/conf.py.jj2"
8
8
- " setup.py " : " custom_setup.py.jj2"
9
+ - .travis.yml : custom_travis.yml.jj2
Original file line number Diff line number Diff line change @@ -4,33 +4,52 @@ language: python
4
4
notifications :
5
5
email : false
6
6
python :
7
- - &pypy2 pypy2.7-6.0
8
- - &pypy3 pypy3.5-6.0
9
- - 3.8-dev
7
+ - 3.8
10
8
- 3.7
11
9
- 3.6
12
- - 3.5
13
- - 2.7
10
+ matrix :
11
+ include :
12
+ - python : 3.6
13
+ env : MINREQ=1
14
14
15
15
stages :
16
- - test
17
16
- lint
17
+ - moban
18
+ - test
19
+
20
+
21
+ .lint : &lint
22
+ git :
23
+ submodules : false
24
+ python : 3.6
25
+ env :
26
+ - MINREQ=0
27
+ stage : lint
28
+ script : make lint
29
+
30
+ .moban : &moban
31
+ python : 3.6
32
+ env :
33
+ - MINREQ=0
34
+ stage : moban
35
+ install : pip install moban>=0.0.4 gitfs2 pypifs
36
+ script :
37
+ - moban
38
+ - git diff --exit-code
39
+
18
40
jobs :
19
41
include :
20
- - stage : lint
21
- python : 3.6
22
- script : make lint
42
+ - *moban
43
+ - *lint
23
44
24
45
stage : test
25
46
26
- script : make test
27
-
28
47
before_install :
29
- - if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
30
48
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
31
49
mv min_requirements.txt requirements.txt ;
32
50
fi
33
- - test ! -f rnd_requirements.txt || pip install --no-deps -r rnd_requirements.txt
51
+ - test ! -f rnd_requirements.txt ||
52
+ pip install --no-deps -r rnd_requirements.txt
34
53
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
35
54
- pip install -r tests/requirements.txt
36
55
script :
You can’t perform that action at this time.
0 commit comments