문제

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