travis: use python 3.6

This commit is contained in:
Jacob Plaster
2019-02-08 16:36:12 +00:00
parent 4c12a9e474
commit 4e0f5f5144

View File

@@ -1,14 +1,8 @@
language: python
before_install:
- sudo apt-get update
- sudo apt-get install python3
- sudo apt-get install python3-pip
- sudo python3 -m pip install --upgrade pip
# command to install dependencies
python:
- "3.6"
install:
- python3 -m pip install -r requirements.txt --user
# command to run tests
- python3.6 -m pip install -r requirements.txt
script:
- python3 -m pylint --rcfile=pylint.rc bfxapi
- python3 -m pytest
- pylint --rcfile=pylint.rc bfxapi
- pytest