File tree Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change 1
- language : c
1
+ language : python
2
2
3
- sudo : false
3
+ env :
4
+ global :
5
+ - VERSION='3.5-dev'
6
+ - ALIAS='3.5'
7
+ - INSTALL_DEST=/opt/python
8
+ - PACKAGES='numpy nose pytest mock wheel'
4
9
5
10
install :
6
- - pushd $HOME
7
- - git clone --depth=1 https://github.com/python/cpython.git
8
- - pushd cpython
9
- - ./configure --prefix = $HOME/python
10
- - make
11
- - make install
12
- - du -hs $HOME/python
13
- - popd; popd
11
+ - true
14
12
15
13
script :
16
- - pushd $HOME/cpython
17
- - make test
14
+ - cd $HOME
15
+ - sudo python-build $VERSION $INSTALL_DEST
16
+ - sudo ln -s $INSTALL_DEST/$VERSION $INSTALL_DEST/$ALIAS
17
+ - virtualenv --distribute --python=$INSTALL_DEST/$VERSION/bin/python /home/travis/virtualenv/python$VERSION
18
+ - ln -s $HOME/virtualenv/python$VERSION $HOME/virtualenv/python$ALIAS
19
+ - $HOME/virtualenv/python$VERSION/bin/pip install --upgrade $PACKAGES
20
+ - tar cf python-$VERSION.tar $INSTALL_DEST/$VERSION $INSTALL_DEST/$ALIAS $HOME/virtualenv/python$VERSION $HOME/virtualenv/python$ALIAS
21
+ - bzip2 python-$VERSION.tar
22
+ - ls -lh python-$VERSION.tar.bz2
You can’t perform that action at this time.
0 commit comments