File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change 17
17
- ALIAS='nightly'
18
18
- INSTALL_DEST=/opt/python
19
19
- PACKAGES='pip numpy nose pytest mock wheel'
20
+ - LSB_RELEASE="$(lsb_release -rs)"
20
21
21
22
install :
22
23
- pushd /opt/pyenv/
@@ -34,20 +35,16 @@ script:
34
35
- popd
35
36
36
37
after_success :
37
- - mkdir -p $HOME/archive/$(lsb_release -rs)
38
- - tar cjf $HOME/archive/$(lsb_release -rs) /python-$ALIAS.tar.bz2 $INSTALL_DEST/$VERSION $INSTALL_DEST/$ALIAS $HOME/virtualenv/python$VERSION $HOME/virtualenv/python$ALIAS
39
- - ls -lh $HOME/archive/$(lsb_release -rs) /python-$ALIAS.tar.bz2
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
41
41
42
after_failure :
42
43
- cat /tmp/python-build.*.log
43
44
44
- deploy :
45
- provider : s3
46
- access_key_id : $ARTIFACTS_KEY
47
- secret_access_key : $ARTIFACTS_SECRET
48
- bucket : $ARTIFACTS_BUCKET
49
- local_dir : $HOME/archive/$(lsb_release -rs)
50
- upload_dir : $(lsb_release -rs)
51
- on :
52
- all_branches : true
53
- acl : public_read
45
+ addons :
46
+ artifacts :
47
+ paths :
48
+ - $HOME/archive/$LSB_RELEASE
49
+ target_paths :
50
+ - $LSB_RELEASE
You can’t perform that action at this time.
0 commit comments