Skip to content

Commit 622b65f

Browse files
committed
Attempt to build on multiple environments
There is currently no environment on Travis with 3.7. Also fix opencv package being installed.
1 parent 879c7cd commit 622b65f

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.travis.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
language: python
2+
matrix:
3+
include:
4+
- name: "Python 3.5 on Xenial"
5+
dist: xenial
6+
python: 3.5
7+
- name: "Python 3.6 on Bionic"
8+
dist: bionic
9+
python: 3.6
210

311
virtualenv:
412
system_site_packages: true
13+
514
before_install:
615
- sudo apt-get update
7-
- sudo apt-get install python-opencv
8-
- sudo dpkg -L python-opencv
16+
- sudo apt-get install python3-opencv
17+
- sudo dpkg -L python3-opencv
918
- sudo ln /dev/null /dev/raw1394
19+
1020
install:
1121
- pip install -r requirements.txt
1222

13-
python:
14-
- "3.5"
15-
- "3.6"
16-
- "3.7"
1723
script:
1824
- python run-tests.py

0 commit comments

Comments
 (0)