iceshrimp-legacy/appveyor.yml

42 lines
913 B
YAML
Raw Normal View History

2018-05-18 03:41:49 +02:00
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
environment:
matrix:
- nodejs_version: 10.1.0
2018-05-18 03:53:39 +02:00
cache:
- node_modules
2018-05-18 03:41:49 +02:00
build: off
install:
# Update Node.js
# 標準で入っている Node.js を更新します (2014/11/13 時点では、v0.10.32 が標準)
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
- node --version
# Update NPM
- npm install -g npm
- npm --version
# Update node-gyp
# 必須! node-gyp のバージョンを上げないと、ネイティブモジュールのコンパイルに失敗します
- npm install -g node-gyp
- npm install
init:
# git clone の際の改行を変換しないようにします
- git config --global core.autocrlf false
2018-05-18 03:53:39 +02:00
before_test:
2018-05-18 04:00:38 +02:00
# 設定ファイルを配置
- cp ./.travis/default.yml ./.config
- cp ./.travis/test.yml ./.config
2018-05-18 03:53:39 +02:00
- npm run build
2018-05-18 03:41:49 +02:00
test_script:
- npm test