mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
travis experiment #6
This commit is contained in:
parent
7b372b87b8
commit
162b567e84
3 changed files with 13 additions and 22 deletions
|
|
@ -14,17 +14,13 @@ python:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get install -y git mercurial
|
- sudo apt-get install -y git mercurial
|
||||||
- sudo bash setup_travis.sh
|
- sudo bash build_wheel_on_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
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- python --version
|
- python --version
|
||||||
- python3.7 --version
|
|
||||||
- python -m flake8 src/pycalver/
|
- python -m flake8 src/pycalver/
|
||||||
|
|
||||||
- export MYPYPATH=stubs/
|
- export MYPYPATH=stubs/
|
||||||
|
|
|
||||||
12
build_wheel_on_travis.sh
Normal file
12
build_wheel_on_travis.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
if [ $(which python3.7) ]; then
|
||||||
|
python3.7 --version
|
||||||
|
else
|
||||||
|
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 --directory /
|
||||||
|
source $HOME/virtualenv/python3.7.0/bin/activate
|
||||||
|
fi
|
||||||
|
|
||||||
|
python3.7 --version
|
||||||
|
python3.7 -m pip install lib3to6
|
||||||
|
python3.7 setup.py bdist_wheel --python-tag=py2.py3
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
#!/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