forked from justadudewhohacks/opencv4nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (49 loc) · 964 Bytes
/
.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
51
52
53
54
55
56
57
language: node_js
node_js:
- '6'
sudo: required
services:
- docker
matrix:
include:
- env:
- BUILD_TASK=test
- TAG=3.0.0-contrib
- env:
- BUILD_TASK=test
- TAG=3.1.0-contrib
- env:
- BUILD_TASK=test
- TAG=3.2.0-contrib
- env:
- BUILD_TASK=test
- TAG=3.3.0-contrib
- env:
- BUILD_TASK=cover
- TAG=3.4.0-contrib
- env:
- BUILD_TASK=test
- TAG=3.4.0-contrib-world
- env:
- BUILD_TASK=test
- TAG=3.4.1-contrib
- env:
- BUILD_TASK=test
- TAG=3.4.2-contrib
- env:
- BUILD_TASK=test
- TAG=3.4.3
- env:
- BUILD_TASK=test
- TAG=3.4.3-contrib
before_install:
- chmod +x ./ci/$BUILD_TASK/$BUILD_TASK.sh
install: travis_wait 30 docker pull justadudewhohacks/opencv4nodejs-ci:$TAG
script:
- cd ./ci/$BUILD_TASK
- npm run $BUILD_TASK $TAG
after_success:
- if [ $BUILD_TASK = 'cover' ]; then
npm install;
npm run codecov -- -t $CODECOV_TOKEN;
fi