diff --git a/.travis.yml b/.travis.yml
index f3e6eff58e8dd0d2cd11e62bba6a9eccccb7d457..150e48978b6f17689d62fbe7b685bc977ed0bf4c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -48,6 +48,8 @@ install:
   # Build the static files
   - npm run build:prod
 
+  # Change back to the original folder
+  - cd -
 
 # Run the tests
 script: