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

Using travis py with conda

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