mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-02 02:03:21 +08:00
Experiment with travis and installing packages differently
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
language: python
|
language: python
|
||||||
sudo: false
|
sudo: true
|
||||||
python:
|
python:
|
||||||
- 2.7
|
- 2.7
|
||||||
- 3.3
|
- 3.3
|
||||||
@@ -30,6 +30,7 @@ matrix:
|
|||||||
install:
|
install:
|
||||||
- pip install --quiet tox-travis
|
- pip install --quiet tox-travis
|
||||||
script:
|
script:
|
||||||
|
- ./travis_install.sh
|
||||||
- tox
|
- tox
|
||||||
after_script:
|
after_script:
|
||||||
- if [ $TOXENV == "cov" ]; then
|
- if [ $TOXENV == "cov" ]; then
|
||||||
|
|||||||
10
travis_install.sh
Normal file
10
travis_install.sh
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
set -e
|
||||||
|
echo "ENV" $JEDI_TEST_ENVIRONMENT
|
||||||
|
PYTHON=python-3.3
|
||||||
|
|
||||||
|
# Check if the desired Python version already exists.
|
||||||
|
$PYTHON --version && exit 0 || true
|
||||||
|
|
||||||
|
# Otherwise download and install.
|
||||||
|
wget https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/14.04/x86_64/$PYTHON.tar.bz2
|
||||||
|
sudo tar xjf $PYTHON.tar.bz2 --directory /
|
||||||
Reference in New Issue
Block a user