summaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2014-10-21 10:33:15 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2014-10-21 10:33:15 -0300
commit5ec02211214350ee558fd9f6bb052264fd24f75e (patch)
treeb61e8c61a95d18a91d053e71dcbd7b30e47552a1 /appveyor.yml
parent58c4878526dec5510f23c812274686787d8724ba (diff)
Imported Upstream version 7.1.0upstream/7.1.0
Diffstat (limited to 'appveyor.yml')
-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 0000000..e57cd4a
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,31 @@
+# stolen from https://github.com/jakubroztocil/httpie/blob/master/appveyor.yml
+build: false
+environment:
+ matrix:
+ #- PYTHON: "C:/Python34"
+ - PYTHON: "C:/Python27"
+init:
+ - "ECHO %PYTHON%"
+ - ps: "ls C:/Python*"
+install:
+ - ps: (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'C:/get-pip.py')
+ - "%PYTHON%/python.exe C:/get-pip.py"
+ - ps: (new-object net.webclient).DownloadFile('https://pypi.python.org/packages/2.7/l/lxml/lxml-3.3.5.win32-py2.7.exe', 'C:/Python27/get-lxml.exe')
+ #- ps: (new-object net.webclient).DownloadFile('http://www.lfd.uci.edu/~gohlke/pythonlibs/5hgp4h3m/lxml-3.3.5.win32-py3.4.exe', 'C:/Python34/get-lxml.exe')
+ - "%PYTHON%/Scripts/easy_install.exe %PYTHON%/get-lxml.exe"
+# can't install coverage etc.
+ - "%PYTHON%/Scripts/pip.exe install -r requirements-extras.txt pytest mock freezegun"
+# temporary change, install with setup.py install so symlinks are expanned
+# - "%PYTHON%/Scripts/pip.exe install ."
+ - "%PYTHON%/python.exe setup.py install"
+
+ # temp workaround
+ - "%PYTHON%/Scripts/pip.exe uninstall -y webassets"
+
+test_script:
+ - "set path=%PYTHON%/Scripts;%path%"
+ - "%PYTHON%/python.exe --version"
+ - "%PYTHON%/Scripts/pip.exe --version"
+ - "%PYTHON%/python.exe setup.py test"
+ - "%nikola"
+ - "%nikola help"