Remove Ubuntu 12

This commit is contained in:
Peter Braden 2017-05-19 06:30:46 +00:00
parent 61c0af2c89
commit 0adf9640eb
3 changed files with 1 additions and 15 deletions

View File

@ -56,7 +56,6 @@ install:
# build from source, run test and generate code coverage
- make cover
- NODE_OPENCV_DEBUG=true node lib/opencv.js
- docker build -t peterbraden/node-opencv-ubuntu-12-04 -f test/Dockerfile-ubuntu-12-04 .
- docker build -t peterbraden/node-opencv-ubuntu-14-04 -f test/Dockerfile-ubuntu-14-04 .
before_script:

View File

@ -1,13 +0,0 @@
# This is a dockerfile to test the build on ubuntu 12.04
from ubuntu:12.04
run apt-get update -qq
run apt-get install -y software-properties-common python-software-properties
run add-apt-repository -y ppa:kubuntu-ppa/backports
run apt-get update
run apt-get install -y libcv-dev libcvaux-dev libhighgui-dev libopencv-dev
run curl -sL https://deb.nodesource.com/setup | bash -
run apt-get install -y nodejs
WORKDIR /root/node-opencv
add . /root/node-opencv
run npm install --unsafe-perm --build-from-source || cat npm-debug.log
run make test

View File

@ -5,7 +5,7 @@ run apt-get install -y software-properties-common python-software-properties
run add-apt-repository -y ppa:kubuntu-ppa/backports
run apt-get update
run apt-get install -y libcv-dev libcvaux-dev libhighgui-dev libopencv-dev
run curl -sL https://deb.nodesource.com/setup | bash -
run curl -sL https://deb.nodesource.com/setup_6.x | bash -
run apt-get install -y nodejs
WORKDIR /root/node-opencv
add . /root/node-opencv