Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Update travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
imurchie committed Aug 1, 2019
1 parent e2eb9fe commit 3307cde
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,21 @@ node_js:
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
- ubuntu-toolchain-r-test
packages:
- clang-5.0
- g++-6
env:
global:
- CXX=clang++-5.0
- CC=clang-5.0
- CC=gcc-6
- CXX=g++-6
install:
# on node 12 opencv4nodejs and mjpeg-consumer cannot be installed
- if [[ `node --version` != v12* ]]; then
printf "while [ true ]; do\nsleep 30\necho 'Building OpenCV'\ndone" > ping.sh;
bash ping.sh &
echo $! > ping.pid;
npm i opencv4nodejs > /dev/null 2>&1;
kill `cat ping.pid`;

npm install --no-save mjpeg-consumer;
fi
- |
printf "while [ true ]; do\nsleep 30\necho 'Building OpenCV'\ndone" > ping.sh;
bash ping.sh &
echo $! > ping.pid;
npm i opencv4nodejs > /dev/null 2>&1;
kill `cat ping.pid`;
- npm install --no-save mjpeg-consumer;
- npm install
script:
- npm run test && npm run e2e-test
Expand Down

0 comments on commit 3307cde

Please sign in to comment.