1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

travis-ci: move python deps to 3

This commit is contained in:
Hans-Christoph Steiner 2016-03-14 11:02:01 +01:00
parent 0fef06a5c9
commit 20d082dfed

View File

@ -22,21 +22,21 @@ licenses:
# the pip thing is a hack that can go away with trusty # the pip thing is a hack that can go away with trusty
install: install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update; brew update > /dev/null;
brew install android-sdk dash gnu-sed jpeg python; brew install android-sdk dash gnu-sed jpeg python3;
sudo pip install pep8 pyflakes pylint; sudo pip3 install pep8 pyflakes pylint;
sudo pip install -e .; sudo pip3 install -e .;
sudo rm -rf fdroidserver.egg-info; sudo rm -rf fdroidserver.egg-info;
echo y | android --verbose update sdk --no-ui --all --filter platform-tools,build-tools-23.0.2; echo y | android --verbose update sdk --no-ui --all --filter platform-tools,build-tools-23.0.2;
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo add-apt-repository ppa:guardianproject/fdroidserver -y; sudo add-apt-repository ppa:guardianproject/fdroidserver -y;
sudo apt-get -q update -y; sudo apt-get -q update -y;
sudo apt-get -q install -y --no-install-recommends python sudo apt-get -q install -y --no-install-recommends python3 python3-dev
python-git python-imaging python-libcloud python-logilab-astng python3-git python3-pil python3-libcloud python3-logilab-astng
python-paramiko python-pip python-pyasn1 python-pyasn1-modules python3-paramiko python3-pip python3-pyasn1 python3-pyasn1-modules
python-requests python-virtualenv python-yaml rsync python3-requests python3-virtualenv python3-yaml rsync
pylint pep8 dash bash ruby pyflakes pylint3 pep8 dash bash ruby libjpeg-dev zlib1g-dev;
python-dev libjpeg-dev zlib1g-dev; sudo pip3 install pylint;
fi fi
script: script: