Skip to content
Snippets Groups Projects
appveyor.yml 1.08 KiB
environment:
   BINSTAR_USER: jlaura
   PYTHON_VERSION: 3.4

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: pip install pvl
   - cmd: pip install protobuf==3.0.0b2

   # Development installation
   - cmd: conda install nose coverage anaconda-client
   - cmd: pip install coveralls

   - cmd: curl -o condaci.py https://raw.githubusercontent.com/menpo/condaci/v0.4.8/condaci.py
   - cmd: python condaci.py setup

build: off

test_script:
   - cmd: nosetests --with-coverage --cover-package=plio

after_test:
   # After test success, package and upload to Anaconda
   - cmd: ~/miniconda/bin/python condaci.py build ./conda