Skip to content
Snippets Groups Projects
Commit 91b3556d authored by Jay's avatar Jay
Browse files

Using travis py with conda

parent 83360d1e
No related branches found
No related tags found
No related merge requests found
sudo: false sudo: false
langage: python
branches: branches:
only: only:
- master - master
matrix: python:
include: - "3.4"
- PYTHON_VERSION = "3.4" - "3.5"
- PYTHON_VERSION = "3.5" - "3.6"
- PYTHON_VERSION = "3.6"
os: os:
- linux - linux
- osx - osx
...@@ -32,7 +33,7 @@ before_install: ...@@ -32,7 +33,7 @@ before_install:
install: install:
# Create the env # Create the env
- echo $PYTHON_VERSION - echo $PYTHON_VERSION
- conda create --yes -n test python=$PYTHON_VERSION - conda create --yes -n test python=$TRAVIS_PYTHON_VERSION
- source activate test - source activate test
- conda config --add channels conda-forge - conda config --add channels conda-forge
...@@ -52,7 +53,7 @@ after_success: ...@@ -52,7 +53,7 @@ after_success:
- coveralls - coveralls
- conda install conda-build anaconda-client - conda install conda-build anaconda-client
- conda config --set anaconda_upload yes - conda config --set anaconda_upload yes
- conda build --token $CONDA_UPLOAD_TOKEN --python PYTHON_VERSION recipe - conda build --token $CONDA_UPLOAD_TOKEN --python $TRAVIS_PYTHON_VERSION recipe
notifications: notifications:
webhooks: webhooks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment