summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000000..d26cbc27e8
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,31 @@
+# appveyor file
+# http://www.appveyor.com/docs/appveyor-yml
+
+environment:
+ matrix:
+ - nodejs_version: 7.10.0
+
+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
+
+test_script:
+ - npm run build