-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to build on multiple environments
There is currently on environment on Travis with 3.7. Also fix wrong opencv versions being installed.
- Loading branch information
1 parent
879c7cd
commit b496e85
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |