2018-10-24 12:49:56 +03:00
|
|
|
# appveyor file
|
|
|
|
# http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
2018-10-25 00:16:49 +03:00
|
|
|
- nodejs_version: 11.0.0
|
2018-10-24 12:49:56 +03:00
|
|
|
|
2018-10-24 12:51:08 +03:00
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
- Any CPU
|
|
|
|
|
2018-10-24 12:49:56 +03:00
|
|
|
build: off
|
|
|
|
|
|
|
|
install:
|
2018-10-25 11:25:35 +03:00
|
|
|
# Get the latest stable version of Node.js or io.js
|
|
|
|
- ps: Install-Product node $env:nodejs_version
|
2018-10-24 12:49:56 +03: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 11:25:35 +03:00
|
|
|
- node --version
|
|
|
|
- npm --version
|
2018-10-24 12:49:56 +03:00
|
|
|
- npm test
|