From ae1738a31c04af8a9822e0f3cf0cd51672219cd8 Mon Sep 17 00:00:00 2001 From: jlaura <jlaura@asu.edu> Date: Thu, 28 Jul 2016 19:36:16 -0700 Subject: [PATCH] Trying to add Appveyor support to get a windows build going. --- appveyor.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..489f508 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,36 @@ +environment: + BINSTAR_USER: jlaura + +platform: + - x64 + +install: + - cmd: set PATH=C:\Miniconda3;C:\Miniconda3\Scripts;%PATH% + - cmd: conda config --set always_yes yes --set changeps1 no + - cmd: conda update -q conda + + # Useful for debugging any issues with conda + - cmd: conda info -a + + # Install not using env because build needs to be in root env + - cmd: conda config --add channels conda-forge + - cmd: conda config --add channels jlaura + - cmd: conda install -c conda-forge gdal h5py + - cmd: conda install pandas sqlalchemy pyyaml + - cmd: conda install -c jlaura pvl protobuf + + # Development installation + - cmd: conda install nose coverage sh anaconda-client + - cmd: pip install coveralls + + - appveyor DownloadFile "https://raw.githubusercontent.com/menpo/condaci/v0.4.8/condaci.py -O condaci.pyi" + - cmd: python condaci.py setup + +build: off + +test_script: + - nosetests --with-coverage --cover-package=plio + +after_test: + # After test success, package and upload to Anaconda + - ~/miniconda/bin/python condaci.py build ./conda -- GitLab