Skip to content

Commit 5beec53

Browse files
committed
Use custom defintion to build from source repo hg.python.org
1 parent f0e6627 commit 5beec53

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ language: python
22

33
env:
44
global:
5-
- VERSION='3.5-dev'
6-
- ALIAS='nightly'
5+
- VERSION='3.5-dev-python-org'
6+
- ALIAS='3.5.0-dev'
77
- INSTALL_DEST=/opt/python
88
- PACKAGES='pip numpy nose pytest mock wheel'
99

@@ -12,7 +12,7 @@ install:
1212

1313
script:
1414
- pushd $HOME
15-
- sudo python-build $VERSION $INSTALL_DEST/$VERSION
15+
- sudo env PYTHON_BUILD_ROOT=$TRAVIS_BUILD_DIR python-build $VERSION $INSTALL_DEST/$ALIAS
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
@@ -21,8 +21,8 @@ script:
2121

2222
after_success:
2323
- mkdir $HOME/archive
24-
- tar cjf $HOME/archive/python-nightly.tar.bz2 $INSTALL_DEST/$VERSION $INSTALL_DEST/$ALIAS $HOME/virtualenv/python$VERSION $HOME/virtualenv/python$ALIAS
25-
- ls -lh $HOME/archive/python-nightly.tar.bz2
24+
- tar cjf $HOME/archive/python-$ALIAS.tar.bz2 $INSTALL_DEST/$VERSION $INSTALL_DEST/$ALIAS $HOME/virtualenv/python$VERSION $HOME/virtualenv/python$ALIAS
25+
- ls -lh $HOME/archive/python-$ALIAS.tar.bz2
2626

2727
deploy:
2828
provider: s3

3.5-dev-python-org

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#require_gcc
2+
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
3+
install_hg "Python-3.5-dev" "https://hg.python.org/cpython/" "default" standard verify_py35 ensurepip

0 commit comments

Comments
 (0)