mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
travis experiment #4
This commit is contained in:
parent
340f1e1600
commit
72f1490def
2 changed files with 19 additions and 3 deletions
|
|
@ -13,14 +13,13 @@ python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- curl -sSf -o python-3.7.tar.bz2 https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/16.04/x86_64/python-3.7.tar.bz2
|
|
||||||
- sudo tar xjf python-3.7.tar.bz2 --directory /
|
|
||||||
- sudo apt-get install -y git mercurial
|
- sudo apt-get install -y git mercurial
|
||||||
- python3.7 -m pip install lib3to6
|
- sudo setup_travis.sh
|
||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install $(cat requirements-test.txt)
|
- pip install $(cat requirements-test.txt)
|
||||||
|
- python3.7 -m pip install lib3to6
|
||||||
- python3.7 setup.py bdist_wheel --python-tag=py2.py3
|
- python3.7 setup.py bdist_wheel --python-tag=py2.py3
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
17
setup_travis.sh
Normal file
17
setup_travis.sh
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
if [ $(which python3.7) ]; then
|
||||||
|
echo "installed"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo $PAtH
|
||||||
|
echo "installing"
|
||||||
|
curl -sSf -o python-3.7.tar.bz2 https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/16.04/x86_64/python-3.7.tar.bz2
|
||||||
|
tar xjf python-3.7.tar.bz2 --verbose --directory /
|
||||||
|
ls -l /home/travis/virtualenv/
|
||||||
|
which python3.7
|
||||||
|
python --version
|
||||||
|
|
||||||
|
# ln -s /home/travis/virtualenv/python3.7.0/bin/python
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue