diff --git a/.travis.yml b/.travis.yml
index f5b77c5edf1666dde1c0370590211f337a5f2819..a3b214061e558a431391980e254ae9cb79d2bb99 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,8 +9,9 @@ go: 1.4
 
 install:
   - go get github.com/openshift/source-to-image
-  - cd ${GOPATH}/src/github.com/openshift/source-to-image
+  - pushd ${GOPATH}/src/github.com/openshift/source-to-image
   - export PATH=$PATH:${GOPATH}/src/github.com/openshift/source-to-image/_output/local/bin/linux/amd64/
   - hack/build-go.sh
+  - popd
 
 script: make test