From b496e8584ea42ce1386e9cde258e2df421dbb6ca Mon Sep 17 00:00:00 2001 From: FichteFoll Date: Tue, 1 Oct 2019 22:22:37 +0200 Subject: [PATCH] Attempt to build on multiple environments There is currently on environment on Travis with 3.7. Also fix wrong opencv versions being installed. --- .travis.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index bca2c58..2ba2d1b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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