mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
commit
246de81274
@ -12,6 +12,10 @@ node_js:
|
||||
- '0.12'
|
||||
- "iojs-v1.0.4"
|
||||
|
||||
sudo: required
|
||||
services:
|
||||
- docker
|
||||
|
||||
compiler: clang
|
||||
|
||||
env:
|
||||
@ -50,6 +54,7 @@ install:
|
||||
# test our module
|
||||
- npm test
|
||||
- node lib/opencv.js
|
||||
- docker build -t peterbraden/node-opencv .
|
||||
|
||||
before_script:
|
||||
- echo "Publishing native platform Binary Package? ->" $PUBLISH_BINARY
|
||||
|
||||
@ -15,4 +15,7 @@ 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
|
||||
run npm install opencv || cat npm-debug.log
|
||||
WORKDIR /root/node-opencv
|
||||
add . /root/node-opencv
|
||||
run npm install --unsafe-perm --build-from-source || cat npm-debug.log
|
||||
run make test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user