diff --git a/.travis.yml b/.travis.yml
index 4a562244d3dcfcb594505d0ab5f536c5aed696dd..312a815c032490848b0a8c1d6068065caa708377 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -187,7 +187,7 @@ script:
   - if [[ "${SPEC}" = "linux-g++-64" && "${CONFIG}" = "debug" ]]; then
     	mkdir -p ~/.config/QtProject/ &&
         cp ${TRAVIS_BUILD_DIR}/test/qtlogging.ini ~/.config/QtProject/ &&
-        EXPORT QT_FATAL_WARNINGS=1 &&
+        export QT_FATAL_WARNINGS=1 &&
         ./debug/qgroundcontrol-start.sh --unittest;
     fi