File tree 2 files changed +20
-2
lines changed
2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,22 @@ install: true
34
34
35
35
script :
36
36
- npm test
37
- - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run -w /src --entrypoint /bin/sh -v`pwd`:/src "node:${TRAVIS_NODE_VERSION}-alpine" test_alpine.sh; fi;
37
+ - ./node_modules/.bin/node-pre-gyp configure
38
+ - ./node_modules/.bin/node-pre-gyp build
39
+ - ./node_modules/.bin/node-pre-gyp package
40
+ - |
41
+ if [[ "$TRAVIS_OS_NAME" == "linux" ]]
42
+ then
43
+ docker run -w /src --entrypoint /bin/sh -v`pwd`:/src "node:${TRAVIS_NODE_VERSION}-alpine" test_alpine.sh
44
+ fi
38
45
39
46
40
47
after_success :
41
- -
if [[ $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-\w)? ]]; then echo "Publishing"; npm install [email protected] ; ./node_modules/.bin/node-pre-gyp configure; ./node_modules/.bin/node-pre-gyp build; ./node_modules/.bin/node-pre-gyp package; ./node_modules/.bin/node-pre-gyp-github publish --release; fi;
48
+ - ls
49
+ - |
50
+ if [[ $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-\w)? ]]
51
+ then
52
+ echo "Publishing"
53
+
54
+ ./node_modules/.bin/node-pre-gyp-github publish --release
55
+ fi
Original file line number Diff line number Diff line change @@ -6,3 +6,7 @@ echo "Running on $(node -v)"
6
6
7
7
apk add make g++ python
8
8
npm test --unsafe-perm
9
+
10
+ ./node_modules/.bin/node-pre-gyp configure
11
+ ./node_modules/.bin/node-pre-gyp build
12
+ ./node_modules/.bin/node-pre-gyp package
You can’t perform that action at this time.
0 commit comments