سؤال

I have a Podfile which has the following:

if ENV['TRAVIS']
  # Load pod from GitHub
else
  # Load pod from local path
end

This used to work but apparently no longer does since my builds are erroring because the TRAVIS environment variable isn't evaluating as true.

Can I still use Travis environment variables in a Podfile?

هل كانت مفيدة؟

المحلول

Some of the environment variables are missing on Mac VMs and are being tracked by this issue on GitHub.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top