mirror of
https://github.com/cmur2/python-bme680.git
synced 2024-12-22 12:54:29 +01:00
travis: fix build config validation problems
- https://docs.travis-ci.com/user/reference/overview/#deprecated-virtualization-environments
This commit is contained in:
parent
db4626f370
commit
f61ae9a86a
23
.travis.yml
23
.travis.yml
@ -1,24 +1,25 @@
|
|||||||
|
---
|
||||||
|
os: linux
|
||||||
language: python
|
language: python
|
||||||
sudo: false
|
|
||||||
cache: pip
|
cache: pip
|
||||||
|
|
||||||
git:
|
git:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
matrix:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- python: "2.7"
|
- python: "2.7"
|
||||||
env: TOXENV=py27
|
env: TOXENV=py27
|
||||||
- python: "3.5"
|
- python: "3.5"
|
||||||
env: TOXENV=py35
|
env: TOXENV=py35
|
||||||
- python: "2.7"
|
- python: "2.7"
|
||||||
env: TOXENV=py27
|
env: TOXENV=py27
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install --ignore-installed --upgrade setuptools pip tox coveralls
|
- pip install --ignore-installed --upgrade setuptools pip tox coveralls
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd library
|
- cd library
|
||||||
- tox -vv
|
- tox -vv
|
||||||
|
|
||||||
after_success: if [ "$TOXENV" == "py35" ]; then coveralls; fi
|
after_success: if [ "$TOXENV" == "py35" ]; then coveralls; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user