2 # Use the Android base system since it provides the SDK, etc.
7 - os: linux # this is really about OSX, Ubuntu is just bonus
12 # this doesn't actually work yet https://github.com/travis-ci/travis-ci/issues/5337
15 env: ANDROID_HOME=/usr/local/opt/android-sdk
23 - 'android-sdk-preview-license-52d11cd2'
24 - 'android-sdk-license-.+'
26 # the PPA is needed on Ubuntu 14.04 precise, and with python3, trusty too
27 # the pip thing is a hack that can go away with trusty
29 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
31 brew install android-sdk dash gnu-sed jpeg python;
32 sudo pip install pep8 pyflakes pylint
33 apache-libcloud mwclient paramiko pillow pyasn1 pyasn1-modules
35 echo y | android --verbose update sdk --no-ui --filter platform-tools,build-tools-23.0.2;
36 elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
37 sudo add-apt-repository ppa:guardianproject/fdroidserver -y;
38 sudo apt-get -q update -y;
39 sudo apt-get -q install -y --no-install-recommends python
40 python-git python-imaging python-libcloud python-logilab-astng
41 python-paramiko python-pip python-pyasn1
42 python-requests python-virtualenv python-yaml rsync
43 pylint pep8 dash bash ruby
44 python-dev libjpeg-dev zlib1g-dev;
45 sudo pip install pyasn1-modules;
53 - cd $TRAVIS_BUILD_DIR
55 - ls -lR | curl -F 'clbin=<-' https://clbin.com