Skip to content

Commit 0b2d58c

Browse files
committed
Upload from local lsb-release dir to empty target path
1 parent a8fc836 commit 0b2d58c

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.travis.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,29 @@ install:
2727

2828
script:
2929
- pushd $HOME
30-
- sudo env PYTHON_BUILD_ROOT=/opt/pyenv/plugins/python-build /opt/pyenv/plugins/python-build/bin/python-build $VERSION $INSTALL_DEST/$VERSION
30+
- sudo env PYTHON_BUILD_ROOT=/opt/pyenv/plugins/python-build
31+
/opt/pyenv/plugins/python-build/bin/python-build $VERSION $INSTALL_DEST/$VERSION
3132
- sudo ln -s $INSTALL_DEST/$VERSION $INSTALL_DEST/$ALIAS
32-
- virtualenv --distribute --python=$INSTALL_DEST/$VERSION/bin/python /home/travis/virtualenv/python$VERSION
33+
- virtualenv --distribute --python=$INSTALL_DEST/$VERSION/bin/python
34+
/home/travis/virtualenv/python$VERSION
3335
- ln -s $HOME/virtualenv/python$VERSION $HOME/virtualenv/python$ALIAS
3436
- $HOME/virtualenv/python$VERSION/bin/pip install --upgrade $PACKAGES
3537
- popd
3638

3739
after_success:
38-
- mkdir -p $HOME/archive/$LSB_RELEASE
39-
- tar cjf $HOME/archive/$LSB_RELEASE/python-$ALIAS.tar.bz2 $INSTALL_DEST/$VERSION $INSTALL_DEST/$ALIAS $HOME/virtualenv/python$VERSION $HOME/virtualenv/python$ALIAS
40-
- ls -lh $HOME/archive/$LSB_RELEASE/python-$ALIAS.tar.bz2
40+
- mkdir -p $TRAVIS_BUILD_DIR/$LSB_RELEASE
41+
- tar cjf $TRAVIS_BUILD_DIR/$LSB_RELEASE/python-$ALIAS.tar.bz2
42+
$INSTALL_DEST/$VERSION
43+
$INSTALL_DEST/$ALIAS
44+
$HOME/virtualenv/python$VERSION
45+
$HOME/virtualenv/python$ALIAS
4146

4247
after_failure:
4348
- cat /tmp/python-build.*.log
4449

4550
addons:
4651
artifacts:
4752
paths:
48-
- $HOME/archive/$LSB_RELEASE
49-
target_paths:
5053
- $LSB_RELEASE
54+
target_paths:
55+
- ""

0 commit comments

Comments
 (0)