File tree 1 file changed +12
-22
lines changed 1 file changed +12
-22
lines changed Original file line number Diff line number Diff line change @@ -2,34 +2,24 @@ dist: bionic
2
2
language : python
3
3
python : 3.7
4
4
5
- matrix :
5
+ jobs :
6
6
include :
7
7
- name : " pytype"
8
8
python : 3.6
9
- env :
10
- - TEST_CMD="./tests/pytype_test.py"
11
- - INSTALL="test"
9
+ install : pip install -r requirements-tests-py3.txt
10
+ script : ./tests/pytype_test.py
12
11
- name : " mypy (typed-ast)"
13
- env :
14
- - TEST_CMD="./tests/mypy_test.py"
15
- - INSTALL="mypy"
12
+ python : 3.7
13
+ install : pip install -U git+git://github.com/python/mypy git+git://github.com/python/typed_ast
14
+ script : ./tests/mypy_test.py
16
15
- name : " mypy (ast)"
17
16
python : 3.8-dev
18
- env :
19
- - TEST_CMD="./tests/mypy_test.py"
20
- - INSTALL="mypy"
17
+ install : pip install -U git+git://github.com/python/mypy
18
+ script : ./tests/mypy_test.py
21
19
- name : " mypy self test"
22
- env : TEST_CMD=" ./tests/mypy_selftest.py"
20
+ script : ./tests/mypy_selftest.py
23
21
- name : " check file consistency"
24
- env : TEST_CMD=" ./tests/check_consistent.py"
22
+ script : ./tests/check_consistent.py
25
23
- name : " flake8"
26
- env :
27
- - TEST_CMD="flake8"
28
- - INSTALL="test"
29
-
30
- install :
31
- - if [[ $INSTALL == 'test' ]]; then pip install -r requirements-tests-py3.txt; fi
32
- - if [[ $INSTALL == 'mypy' ]]; then pip install -U git+git://github.com/python/mypy git+git://github.com/python/typed_ast; fi
33
-
34
- script :
35
- - $TEST_CMD
24
+ install : pip install -r requirements-tests-py3.txt
25
+ script : flake8
You can’t perform that action at this time.
0 commit comments