mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-14 05:31:25 -05:00
Update travis config to use python 3.6+, and to install proper versions of dependencies, and to use bionic instead of trusty
This commit is contained in:
parent
56b4bf08a8
commit
ba1a33e1ff
@ -1,16 +1,15 @@
|
|||||||
language: python
|
language: python
|
||||||
# sudo: required
|
# sudo: required
|
||||||
dist: trusty
|
dist: bionic
|
||||||
python:
|
python:
|
||||||
- "3.4"
|
|
||||||
- "3.5"
|
|
||||||
- "3.6"
|
- "3.6"
|
||||||
- "3.6-dev"
|
- "3.6-dev"
|
||||||
- "3.7-dev"
|
- "3.7-dev"
|
||||||
- "nightly"
|
- "nightly"
|
||||||
# command to install dependencies
|
# command to install dependencies
|
||||||
install:
|
install:
|
||||||
- pip install Flask==0.12 stem==1.5.4 pytest-cov coveralls flake8
|
- pip install -r install/requirements.txt
|
||||||
|
- pip install pytest-cov coveralls flake8
|
||||||
before_script:
|
before_script:
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
# stop the build if there are Python syntax errors or undefined names
|
||||||
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
||||||
|
Loading…
x
Reference in New Issue
Block a user