2017-07-11 11:31:29 +08:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "node"
|
2017-07-11 12:00:16 +08:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install python3.6
|
|
|
|
- sudo apt-get install build-essential
|
|
|
|
- npm install -g node-gyp
|
2017-07-11 11:31:29 +08:00
|
|
|
script:
|
|
|
|
- npm run test
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|