From 66983c7f6759b7073a6146de0c347b931622aab1 Mon Sep 17 00:00:00 2001 From: Robo Date: Wed, 2 Jul 2014 00:09:54 +0530 Subject: [PATCH 1/2] inital config setup for x86 --- appveyor.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..59ae3d9ee --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,29 @@ +# appveyor file +# http://www.appveyor.com/docs/appveyor-yml +project_id: "fgmr18mx183acim0" + +version: "{build}" + +init: + - git config --global core.autocrlf input + +environment: + matrix: + - nodejs_version: 0.10 + +platform: + - x86 + +install: + - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) + - cmd: SET PATH=C:\Program Files (x86)\MSBuild\12.0\bin\;%PATH% + - cmd: SET PATH=C:\python27;%PATH% + - cmd: python script/bootstrap.py + - python script/build.py + +test_script: + - node --version + - npm --version + - cmd: python script/test.py + +build: off From 58c56ce7aea12980f4be7e62840f461bb6f0cbc4 Mon Sep 17 00:00:00 2001 From: Robo Date: Wed, 2 Jul 2014 02:02:23 +0530 Subject: [PATCH 2/2] specify mode for windows --- script/lib/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/lib/util.py b/script/lib/util.py index c66dca810..f5238660d 100644 --- a/script/lib/util.py +++ b/script/lib/util.py @@ -30,7 +30,7 @@ def scoped_cwd(path): def download(text, url, path): - with open(path, 'w') as local_file: + with open(path, 'wb') as local_file: web_file = urllib2.urlopen(url) file_size = int(web_file.info().getheaders("Content-Length")[0]) downloaded_size = 0