travis: use a matrix to allow for more languages

main
svalouch 5 years ago
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'
- pip install -r requirements.txt install:
- pip install -r requirements_develop.txt - pip install -r requirements.txt
- pip install . - pip install -r requirements_develop.txt
script: - pip install .
- pytest --cov=simplezfs --cov-report=term-missing ${@} script:
- mypy src/simplezfs - pytest --cov=simplezfs --cov-report=term-missing ${@}
- flake8 - 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 ${@}
- mypy src/simplezfs
- flake8

Loading…
Cancel
Save