Deploying to modulus tries to build mobile platforms


#1

When deploying to modulus through codeship, we get the following error:

Meteor project detected…
Currently, it is only possible to build iOS apps on an OS X system.

WARNING: The output directory is under your source tree.

=> Errors executing Cordova commands:

While building Cordova app for platform Android:
Error:
/home/rof/src/github.com/*****/.meteor/local/cordova-build/platforms/android/cordova/build:
Command failed with exit code 2 Error output:
[Error: Failed to find ‘ANDROID_HOME’ environment variable. Try setting
setting it manually.
Failed to find ‘android’ command in your ‘PATH’. Try update your ‘PATH’ to
include path to valid SDK directory.]

How do we fix this issue? Thanks!


#2

meteor remove-platform android
meteor remove-platform ios

Add those to the test commands section inside codeship. DUH! :smile: