diff --git a/.travis.yml b/.travis.yml
index bff645563a4a77d20b9370abf636e8255ba26430..4ce4b7877f02c6b29bc4d92c7e9b382e92d00dc7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,11 @@
+os: linux
 matrix:
   include:
     - os: osx
     - dist: trusty
       sudo: required
+  exclude:
+    - os: linux
 
 env:
 - PYENV_PYTHON_VERSION=3.5.0
diff --git a/ci/travis/build.sh b/ci/travis/build.sh
index 045e42c380e92f1a63f7115f1cfafb1326ccf1a1..05efb200dbf98609952c6db1da0d6b3f68f8ad5b 100755
--- a/ci/travis/build.sh
+++ b/ci/travis/build.sh
@@ -9,4 +9,7 @@ pip install coveralls cx_Freeze
 pip install -r requirements.txt
 python gen_resources.py
 python gen_translations.py
-python setup.py bdist_dmg
\ No newline at end of file
+
+[ $TRAVIS_OS_NAME == "osx" ] && python setup.py bdist_dmg
+[ $TRAVIS_OS_NAME == "linux" ] && python setup.py build
+