language: generic

git:
  depth: 200

env:
  global:
    - BINSTAR_USER=menpo

matrix:
  include:
    - os: osx
      osx_image: xcode9
      env: PYTHON_VERSION=3.6
    - os: osx
      osx_image: xcode9
      env: PYTHON_VERSION=3.7
    - os: linux
      env: PYTHON_VERSION=3.6
    - os: linux
      env: PYTHON_VERSION=3.7

install:
- wget https://raw.githubusercontent.com/menpo/condaci/v0.5.x/condaci.py -O condaci.py
- python condaci.py setup --channels conda-forge

script:
- ~/miniconda/bin/python condaci.py build ./conda

notifications:
  slack:
    rooms:
      - menpo:19gyWImMkOfCj0iDAgTbDlDA
    on_success: change
    on_failure: change
  email: false

language: generic

git:
  depth: 200

env:
  global:
    - BINSTAR_USER=menpo
    - CONDACI_PYPI_SDIST_UPLOAD_PY_VER=3.6

matrix:
  include:
    - os: osx
      osx_image: xcode9
      env: PYTHON_VERSION=3.6
    - os: osx
      osx_image: xcode9
      env: PYTHON_VERSION=3.7
    - os: linux
      env: PYTHON_VERSION=3.6
    - os: linux
      env: PYTHON_VERSION=3.7

install:
- wget https://raw.githubusercontent.com/menpo/condaci/v0.5.x/condaci.py -O condaci.py
- python condaci.py setup --channels conda-forge

script:
- ~/miniconda/bin/python condaci.py build ./conda

notifications:
  slack:
    rooms:
      - menpo:19gyWImMkOfCj0iDAgTbDlDA
    on_success: change
    on_failure: change
  email: false

Make sure we upload to Pypi by setting Python version
Make sure we upload to Pypi by setting Python version

Default is Python 3.5 but we removed this to reduce the build matrix.
Override the env variable to be Python 3.6 instead.
