forked from justadudewhohacks/opencv4nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (43 loc) · 1.13 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: node_js
node_js:
- '6'
sudo: required
services:
- docker
matrix:
include:
- env:
- BUILD_TASK=build-opencv3.0
- DOCKER_IMAGE=opencv3.0-node6
- env:
- BUILD_TASK=build-opencv3.0-contrib
- DOCKER_IMAGE=opencv3.0-contrib-node6
- env:
- BUILD_TASK=build-opencv3.1
- DOCKER_IMAGE=opencv3.1-node6
- env:
- BUILD_TASK=build-opencv3.1-contrib
- DOCKER_IMAGE=opencv3.1-contrib-node6
- env:
- BUILD_TASK=build-opencv3.3
- DOCKER_IMAGE=opencv3.3-node6
- env:
- BUILD_TASK=build-opencv3.3-contrib
- DOCKER_IMAGE=opencv3.3-contrib-node6
- env:
- BUILD_TASK=build-opencv3.3.1
- DOCKER_IMAGE=opencv3.3.1-node6
- env:
- BUILD_TASK=build-opencv3.3.1-contrib
- DOCKER_IMAGE=opencv3.3.1-contrib-node6
- env:
- BUILD_TASK=build-opencv3.2-contrib-with-coverage
- DOCKER_IMAGE=opencv3.2-contrib-node6
install: travis_wait 30 docker pull justadudewhohacks/$DOCKER_IMAGE
script: npm run $BUILD_TASK
after_success:
- if [ $BUILD_TASK = 'build-opencv3.2-contrib-with-coverage' ]; then
cd ./ci;
npm install;
npm run codecov -- -t $CODECOV_TOKEN;
fi