mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Merge pull request #233 from hybridgroup/master
Fix issue with Linux binaries not passing self-test on install.
This commit is contained in:
commit
622c2ca995
11
.travis.yml
11
.travis.yml
@ -13,15 +13,12 @@ env:
|
||||
- secure: "lBIk4BhdIkSmJtFUNp93UjDm445i9eF7nKA+oSiLRu+b9i/WeRLiKFI89tehexWeXBlyNhziBN16LrHmx3I86yZfEok9dBMA1JuzYBjrvpjRAflGcqaCFLV3axyyyNQRIh7Q+ziAlg0xg8HL752BpnfXO91g3jfDPjGxcvBb5xQ="
|
||||
|
||||
|
||||
|
||||
before_install:
|
||||
# Fix a problem with apt-get failing later, see http://docs.travis-ci.com/user/installing-dependencies/#Installing-Ubuntu-packages
|
||||
- sudo apt-get update -qq
|
||||
# - sudo add-apt-repository -y ppa:kubuntu-ppa/backports
|
||||
# - sudo apt-get update
|
||||
- sudo apt-get install libcv-dev
|
||||
- sudo apt-get install libopencv-dev
|
||||
- sudo apt-get install libhighgui-dev
|
||||
- sudo add-apt-repository -y ppa:kubuntu-ppa/backports
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install --force-yes libcv-dev libcvaux-dev libhighgui-dev libopencv-dev
|
||||
# get commit message
|
||||
- COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
|
||||
# put local node-pre-gyp on PATH
|
||||
@ -50,7 +47,7 @@ install:
|
||||
before_script:
|
||||
- echo "Publishing native platform Binary Package? ->" $PUBLISH_BINARY
|
||||
# if publishing, do it
|
||||
- if [[ $PUBLISH_BINARY == true ]]; then node-pre-gyp package publish || true ; fi;
|
||||
- if [[ $PUBLISH_BINARY == true ]]; then node-pre-gyp package publish || true; fi;
|
||||
# cleanup
|
||||
- node-pre-gyp clean
|
||||
- node-gyp clean
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
"buffers": "0.1.1",
|
||||
"nan": "1.4.3"
|
||||
},
|
||||
"version": "3.0.0",
|
||||
"version": "3.0.1",
|
||||
"devDependencies": {
|
||||
"tape": "^3.0.0",
|
||||
"aws-sdk": "~2.0.21",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user