diff --git a/.travis.sh b/.travis.sh
index d01ca6689289cd6206271b0265503c2ca66a473c..bcd7c79ed8edb4945ee700d60c5f1b47a8e63b9e 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -54,7 +54,7 @@ if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then
   # Install GitHub pages import helper and Material, so we can use it as a
   # base template and add overrides
   pip install --user ghp-import
-  python setup.py --user install
+  python setup.py install --user
 
   # Build documentation with overrides and publish to GitHub pages
   mkdocs build --theme material --theme-dir overrides