Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable Android states on Travis #145

Merged
merged 3 commits into from Nov 3, 2015
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Add i386 architecture for Android on 64-bit hosts

Some of the dependencies for Android require 32-bit versions
of certain package, so add the architecture and update the package
database (via refresh: True) before installing them.
  • Loading branch information
aneeshusa committed Nov 1, 2015
commit ee7a0c9bbd8deac2679c884acd67033b481a244f
@@ -1,10 +1,15 @@
{% if '64' in grains['cpuarch'] %}
enable-i386-architecture:
cmd.run:
- name: 'dpkg --add-architecture i386'
- require_in:
- pkg: android-dependencies
{% endif %}

android-dependencies:
pkg.installed:
- pkgs:
{% if '64' in grains['cpuarch'] %}
# TODO: need to do these first on new ubuntus.
# dpkg --add-architecture i386
# apt-get update
- libc6:i386
- libstdc++6:i386
{% endif %}
@@ -16,6 +21,7 @@ android-dependencies:
- lib32z1
- libstdc++6
- libgl1-mesa-dev
- refresh: True
pip.installed:
- name: s3cmd

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.