diff --git a/.travis.yml b/.travis.yml
index 083969ce9a5d027bcaa4c4cc5a759fa5875eab3c..0c98a0588b4c528b08379cf877d6fdb0d4d988e0 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: