Skip to content

Commit

Permalink
Attempt to build on multiple environments
Browse files Browse the repository at this point in the history
There is currently on environment on Travis with 3.7.

Also fix wrong opencv versions being installed.
  • Loading branch information
FichteFoll committed Oct 1, 2019
1 parent 879c7cd commit b496e85
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
language: python
matrix:
include:
- name: "Python 3.5 on Xenial"
dist: xenial
python: 3.5
- name: "Python 3.6 on Bionic"
dist: bionic
python: 3.6

virtualenv:
system_site_packages: true

before_install:
- sudo apt-get update
- sudo apt-get install python-opencv
- sudo dpkg -L python-opencv
- sudo apt-get install python3-opencv
- sudo dpkg -L python3-opencv
- sudo ln /dev/null /dev/raw1394

install:
- pip install -r requirements.txt

python:
- "3.5"
- "3.6"
- "3.7"
script:
- python run-tests.py

0 comments on commit b496e85

Please sign in to comment.