2017-07-11 11:31:29 +08:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "node"
|
2017-07-11 12:03:10 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
2017-07-11 12:19:52 +08:00
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- ppa:ubuntu-toolchain-r/test
|
2017-07-11 12:03:10 +08:00
|
|
|
packages:
|
2017-07-11 12:07:56 +08:00
|
|
|
- python
|
|
|
|
- cmake
|
2017-07-11 12:03:10 +08:00
|
|
|
- build-essential
|
2017-07-11 12:15:49 +08:00
|
|
|
- gcc-5.1
|
|
|
|
- g++-5.1
|
2017-07-11 12:00:16 +08:00
|
|
|
before_install:
|
|
|
|
- npm install -g node-gyp
|
2017-07-11 11:31:29 +08:00
|
|
|
script:
|
|
|
|
- npm run test
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|