language: node_js
before_install: 
 - sudo apt-get install build-essential
 - curl -sL https://github.com/Itseez/opencv/archive/2.4.6.2.zip > opencv.zip
 - unzip opencv.zip
 - rm opencv.zip
 - mkdir opencv-build
 - cd opencv-build/
 - cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_opencv_java=OFF -DWITH_JASPER=OFF -DBUILD_ZLIB=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DWITH_OPENEXR=OFF -DBUILD_PNG=ON -DWITH_PNG=ON -DWITH_TIFF=OFF -DWITH_WEBP=OFF -DWITH_JPEG=ON -DBUILD_JPEG=ON ../opencv-2.4.6.2/
 - sudo make install
 - cd ..

language: node_js
before_install: 
 - sudo apt-get install build-essential
 - curl -sL https://github.com/Itseez/opencv/archive/2.4.6.1.zip > opencv.zip
 - unzip opencv.zip
 - rm opencv.zip
 - mkdir opencv-build
 - cd opencv-build/
 - cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_opencv_java=OFF -DBUILD_JASPER=OFF -DWITH_JASPER=OFF -DBUILD_ZLIB=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DWITH_OPENEXR=OFF -DBUILD_PNG=ON -DWITH_PNG=ON -DWITH_TIFF=OFF -DBUILD_TIFF=OFF -DWITH_WEBP=OFF -DWITH_JPEG=ON -DBUILD_JPEG=ON ../opencv-2.4.6.1/
 - sudo make install
 - cd ..

Use OpenCV 2.4.6.1 and disable build of TIFF and JASPER
Use OpenCV 2.4.6.1 and disable build of TIFF and JASPER
