This repository has been archived by the owner on Jun 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
.travis.yml
33 lines (26 loc) · 1.24 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
language: node_js
os:
- osx
node_js:
- "8"
- "10"
- "12"
- "13"
env:
global:
- secure: "X+baBB4m60a19f2Azr4wR0SYbIV47DsbiDWiCV4d3zx3OM6yJONwcpZn/Ln0XN8Q8+dNgOQQCbBxtrXqTbHV2OFCAeCbREpn/KyTRpSzrpZKHqHxq8LK26hwI+kGVVRVOQOaDk2Tzt9CAwpkC4KJ1d9xulS4hYGef7HH/5tXdDc8vTR5i4iiugskwOEWF2a61diIaQP65E+lNNoYcoU/3L7CmVp775qnJSUa5nJoDPEFM8EtjgcwX0W1CY5oQehTxXjV9zlza9Im4hmgI8k4NgdD5O/9b/Nzj+qwccFjnwoedPqJFx7pNQsa5g7IlLIe8pUYncf8fOXusNSHm0NdSi1f0PfjtSKNxD3VJUqrLqctHfhg/inJFED9cMrFQTiTsfhUsmzFhr7ynXhlw8diZ9/IyDrAImYiVNCuoBEHzpH+3KMzxgDxxULDeWfI65fqVi89Lix7a2BkXt4/ZcRbrTRsEBCkr0Lw2wUgZayA6HoWn2kRVzn5UJcCNRt01OlPhkdBEutsUtQPryjSJalPwl4rRxHH+gdTl8G3lJOI5PJtynUp0UompPe4U7rQ0EzCg9tK+yPiVLF75pCpmm3el3cGbFUb5MHaNiU1hZ8KgSLUuRjBlPJnzMBZdWSgP2OanqKPGYBpdmIaA7p+iWBrZGYfhm9CUx3ohNPDlurHj18="
matrix:
fast_finish: true
before_install:
- npm install -g node-gyp
- export JOBS=max
- export PATH=./node_modules/.bin/:$PATH
- PUBLISH=false
- if [[ $TRAVIS_BRANCH == `git describe --tags --always HEAD` ]]; then PUBLISH=true; fi;
- echo "Publishing native platform Binary Package? ->" $PUBLISH
install:
- npm install --build-from-source
script:
- npm test
- npm run prebuild-ci
- if [[ $PUBLISH == true ]]; then npm run prebuild-upload || true ; fi;