Skip to content

Commit eef1244

Browse files
committed
Move back to $TRAVIS_BUILD_DIR
Otherwise, we will see: fatal: Not a git repository (or any of the parent directories): .git
1 parent 8324900 commit eef1244

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ install:
1111
- true
1212

1313
script:
14-
- cd $HOME
14+
- pushd $HOME
1515
- sudo python-build $VERSION $INSTALL_DEST/$VERSION
1616
- sudo ln -s $INSTALL_DEST/$VERSION $INSTALL_DEST/$ALIAS
1717
- virtualenv --distribute --python=$INSTALL_DEST/$VERSION/bin/python /home/travis/virtualenv/python$VERSION
1818
- ln -s $HOME/virtualenv/python$VERSION $HOME/virtualenv/python$ALIAS
1919
- $HOME/virtualenv/python$VERSION/bin/pip install --upgrade $PACKAGES
20+
- popd
2021

2122
after_success:
2223
- mkdir $HOME/archive

0 commit comments

Comments
 (0)