mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 05:54:25 +08:00
Experiment with travis and installing packages differently
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
language: python
|
||||
sudo: false
|
||||
sudo: true
|
||||
python:
|
||||
- 2.7
|
||||
- 3.3
|
||||
@@ -30,6 +30,7 @@ matrix:
|
||||
install:
|
||||
- pip install --quiet tox-travis
|
||||
script:
|
||||
- ./travis_install.sh
|
||||
- tox
|
||||
after_script:
|
||||
- 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