Question

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?

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top