# AppVeyor.com is a Continuous Integration service to build and run tests under
# Windows
# File shamelessly inspired by Astropy

version: 0.7.dev0-{build}

branches:
  only:
    - master
    - 0.3.x
    - 0.4.x
    - 0.5.x
    - 0.6.x
    - 0.7.x

matrix:
  fast_finish: true

install:
  - "set PYTHON_BIN=C:\\Python36-x64\\python.exe"
  - "set PIP_BIN=C:\\Python36-x64\\Scripts\\pip.exe"
  - "set SPHINX_BIN=C:\\Python36-x64\\Scripts\\sphinx-build.exe"

  # Check that we have the expected version of Python
  - "%PYTHON_BIN% --version"

  # Install dependencies
  - "choco install pandoc"

  - "%PIP_BIN% install numpy"
  - "%PIP_BIN% install --pre scipy --find-links https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com/"
  - "%PIP_BIN% install --pre numba --extra-index-url https://pypi.anaconda.org/numba/simple"
  - "%PIP_BIN% install .[dev]"  # Test installation correctness

build: off

test_script:
  - "%PYTHON_BIN% setup.py test -vv"  # Test against installed code
  - "%SPHINX_BIN% -vW -b html docs/source _HTMLTest" # Test docs build

# AppVeyor.com is a Continuous Integration service to build and run tests under
# Windows
# File shamelessly inspired by Astropy

version: 0.7.dev0-{build}

branches:
  only:
    - master
    - 0.3.x
    - 0.4.x
    - 0.5.x
    - 0.6.x
    - 0.7.x

matrix:
  fast_finish: true

install:
  - "set PYTHON_BIN=C:\\Python36-x64\\python.exe"
  - "set PIP_BIN=C:\\Python36-x64\\Scripts\\pip.exe"
  - "set SPHINX_BIN=C:\\Python36-x64\\Scripts\\sphinx-build.exe"

  # Check that we have the expected version of Python
  - "%PYTHON_BIN% --version"

  # Install dependencies
  - "choco install pandoc"

  - "%PIP_BIN% install numpy"
  - "%PIP_BIN% install .[dev]"  # Test installation correctness

build: off

test_script:
  - "%PYTHON_BIN% setup.py test -vv"  # Test against installed code
  - "%SPHINX_BIN% -vW -b html docs/source _HTMLTest" # Test docs build

Remove special pip install commands from AppVeyor
Remove special pip install commands from AppVeyor
