Merge branch 'appveyor_setup' of https://github.com/deepak1556/atom-shell into deepak1556-appveyor_setup

Conflicts:
	script/lib/util.py
This commit is contained in:
Cheng Zhao 2014-08-07 22:27:38 +08:00
Родитель 7f9ac88c31 58c56ce7ae
Коммит 8eb650ce03
2 изменённых файлов: 30 добавлений и 1 удалений

29
appveyor.yml Normal file
Просмотреть файл

@ -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

Просмотреть файл

@ -31,7 +31,7 @@ def scoped_cwd(path):
def download(text, url, path):
safe_mkdir(os.path.dirname(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