Commit 02e3a5ff authored by kberry's avatar kberry
Browse files

A first attempt at adding opencv to travis

parent 5c586e02
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ only:
python:
  - "3.5"

before_install:
install:
  # We do this conditionally because it saves us some downloading if the
  # version is the same.
@@ -36,6 +35,17 @@ install:
  - pip install coverage
  - pip install coveralls

before_script:
  - git clone https://github.com/Itseez/opencv.git
  - cd opencv
  - mkdir build
  - cd build
  - cmake ..
  - make -j4
  - sudo make -j4 install
  - mvn install:install-file -Dfile=/usr/local/share/OpenCV/java/opencv-300.jar -DgroupId=opencv -DartifactId=opencv -Dversion=3.0.0 -Dpackaging=jar
  - cd ../..

script:
  - nosetests --with-coverage --cover-package=autocnet