travis: use a matrix to allow for more languages
parent
06117f569c
commit
763f0e6178
@ -1,13 +1,34 @@
|
|||||||
---
|
---
|
||||||
language: python
|
# use a matrix to support multiple languages
|
||||||
python:
|
matrix:
|
||||||
- '3.6'
|
include:
|
||||||
- '3.7'
|
- language: python
|
||||||
install:
|
python: '3.6'
|
||||||
|
install:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- pip install -r requirements_develop.txt
|
- pip install -r requirements_develop.txt
|
||||||
- pip install .
|
- pip install .
|
||||||
script:
|
script:
|
||||||
|
- pytest --cov=simplezfs --cov-report=term-missing ${@}
|
||||||
|
- mypy src/simplezfs
|
||||||
|
- flake8
|
||||||
|
- language: python
|
||||||
|
python: '3.7'
|
||||||
|
install:
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- pip install -r requirements_develop.txt
|
||||||
|
- pip install .
|
||||||
|
script:
|
||||||
|
- pytest --cov=simplezfs --cov-report=term-missing ${@}
|
||||||
|
- mypy src/simplezfs
|
||||||
|
- flake8
|
||||||
|
- language: python
|
||||||
|
python: '3.7'
|
||||||
|
install:
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- pip install -r requirements_develop.txt
|
||||||
|
- pip install .
|
||||||
|
script:
|
||||||
- pytest --cov=simplezfs --cov-report=term-missing ${@}
|
- pytest --cov=simplezfs --cov-report=term-missing ${@}
|
||||||
- mypy src/simplezfs
|
- mypy src/simplezfs
|
||||||
- flake8
|
- flake8
|
||||||
|
Loading…
Reference in New Issue