From 91b3556da79e9f9b6634f35dd3077c10685b5b62 Mon Sep 17 00:00:00 2001
From: Jay <jlaura@asu.edu>
Date: Mon, 4 Dec 2017 20:25:50 -0700
Subject: [PATCH] Using travis py with conda

---
 .travis.yml | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 083969c..0c98a05 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,14 +1,15 @@
 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:
-- 
GitLab