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_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DWITH_OPENEXR=OFF ../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.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 -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 ..

Disable WebP, TIFF, Java, Jasper, 3rd party libs like zlib, PNG and JPEG codecs will be build from scratch
Disable WebP, TIFF, Java, Jasper, 3rd party libs like zlib, PNG and JPEG codecs will be build from scratch
