diff --git a/.travis.yml b/.travis.yml
index bd8b57ed44f5a72105502cc6cad4d9f425752b80..0ffc91415ce73b3c83e1d2e987c0c5496e379f87 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,7 +31,7 @@ before_install:
 
 install:
   # Create the env
-  - conda create --yes -n test python=$TRAVIS_PYTHON_VERSION
+  - conda create --yes -n test python=$PYTHON_VERSION
   - source activate test
 
   - conda config --add channels conda-forge