mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
travis-ci: make pip install deps based on setup.py
This commit is contained in:
parent
a28ede2b67
commit
78151c04c5
14
.travis.yml
14
.travis.yml
@ -14,11 +14,6 @@ matrix:
|
|||||||
- os: osx
|
- os: osx
|
||||||
env: ANDROID_HOME=/usr/local/opt/android-sdk
|
env: ANDROID_HOME=/usr/local/opt/android-sdk
|
||||||
|
|
||||||
#jdk:
|
|
||||||
# - oraclejdk8
|
|
||||||
# - oraclejdk7
|
|
||||||
# - openjdk7
|
|
||||||
|
|
||||||
licenses:
|
licenses:
|
||||||
- 'android-sdk-preview-license-52d11cd2'
|
- 'android-sdk-preview-license-52d11cd2'
|
||||||
- 'android-sdk-license-.+'
|
- 'android-sdk-license-.+'
|
||||||
@ -29,20 +24,19 @@ install:
|
|||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
brew update;
|
brew update;
|
||||||
brew install android-sdk dash gnu-sed jpeg python;
|
brew install android-sdk dash gnu-sed jpeg python;
|
||||||
sudo pip install pep8 pyflakes pylint
|
sudo pip install pep8 pyflakes pylint;
|
||||||
apache-libcloud mwclient paramiko pillow pyasn1 pyasn1-modules
|
sudo pip install -e .;
|
||||||
pyyaml requests;
|
sudo rm -rf fdroidserver.egg-info;
|
||||||
echo y | android --verbose update sdk --no-ui --filter platform-tools,build-tools-23.0.2;
|
echo y | android --verbose update sdk --no-ui --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 python
|
||||||
python-git python-imaging python-libcloud python-logilab-astng
|
python-git python-imaging python-libcloud python-logilab-astng
|
||||||
python-paramiko python-pip python-pyasn1
|
python-paramiko python-pip python-pyasn1 python-pyasn1-modules
|
||||||
python-requests python-virtualenv python-yaml rsync
|
python-requests python-virtualenv python-yaml rsync
|
||||||
pylint pep8 dash bash ruby
|
pylint pep8 dash bash ruby
|
||||||
python-dev libjpeg-dev zlib1g-dev;
|
python-dev libjpeg-dev zlib1g-dev;
|
||||||
sudo pip install pyasn1-modules;
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user