File tree 1 file changed +20
-11
lines changed
1 file changed +20
-11
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
2
language : python
3
3
cache : pip
4
- python :
5
- - " 2.7"
6
- - " 3.6"
4
+ dist : xenial
7
5
services :
8
6
- docker
9
7
install :
10
8
- pip install -r dev-requirements.txt
11
9
- pip install -e .
12
10
before_script :
13
11
- docker-compose up -d
14
- script :
15
- - ./scripts/copyright_line_check.sh
16
- - isort --check-only --verbose --recursive graphql_compiler/
17
- - flake8 --exclude **/snap_*.py graphql_compiler/
18
- - pydocstyle graphql_compiler/
19
- - pylint graphql_compiler/
20
- - bandit -r graphql_compiler/
21
- - py.test --cov=graphql_compiler graphql_compiler/tests
12
+ matrix :
13
+ include :
14
+ - name : " Lint and static analysis"
15
+ python : " 3.6"
16
+ script :
17
+ - ./scripts/copyright_line_check.sh
18
+ - isort --check-only --verbose --recursive graphql_compiler/
19
+ - flake8 --exclude **/snap_*.py graphql_compiler/
20
+ - pydocstyle graphql_compiler/
21
+ - pylint graphql_compiler/
22
+ - bandit -r graphql_compiler/
23
+ - name : " Python 2.7 unit tests"
24
+ python : " 2.7"
25
+ script :
26
+ - py.test --cov=graphql_compiler graphql_compiler/tests
27
+ - name : " Python 3.6 unit tests"
28
+ python : " 3.6"
29
+ script :
30
+ - py.test --cov=graphql_compiler graphql_compiler/tests
22
31
after_success :
23
32
- docker-compose down
24
33
- coveralls
You can’t perform that action at this time.
0 commit comments