2018-10-24 03:49:56 -06:00
|
|
|
# appveyor file
|
|
|
|
# http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
2018-10-24 15:16:49 -06:00
|
|
|
- nodejs_version: 11.0.0
|
2018-10-24 03:49:56 -06:00
|
|
|
|
2018-10-24 03:51:08 -06:00
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
- Any CPU
|
|
|
|
|
2018-10-24 03:49:56 -06:00
|
|
|
build: off
|
|
|
|
|
|
|
|
install:
|
2018-10-25 02:25:35 -06:00
|
|
|
# Get the latest stable version of Node.js or io.js
|
|
|
|
- ps: Install-Product node $env:nodejs_version
|
2018-10-24 03:49:56 -06:00
|
|
|
|
|
|
|
# Update node-gyp
|
|
|
|
# 必須! node-gyp のバージョンを上げないと、ネイティブモジュールのコンパイルに失敗します
|
|
|
|
- npm install -g node-gyp
|
|
|
|
|
|
|
|
- npm install
|
|
|
|
|
|
|
|
init:
|
|
|
|
# git clone の際の改行を変換しないようにします
|
|
|
|
- git config --global core.autocrlf false
|
|
|
|
|
|
|
|
before_test:
|
|
|
|
# 設定ファイルを配置
|
|
|
|
- cp ./.travis/default.yml ./.config
|
|
|
|
- cp ./.travis/test.yml ./.config
|
|
|
|
|
|
|
|
- npm run build
|
|
|
|
|
|
|
|
test_script:
|
2018-10-25 02:25:35 -06:00
|
|
|
- node --version
|
|
|
|
- npm --version
|
2018-10-24 03:49:56 -06:00
|
|
|
- npm test
|