Travis CI (for obvious reasons) does not define encrypted variables when building a PR from a non-member.
The GITHUB_TOKEN variable is only used to avoid GitHub API rate-limiting affecting Composer's ability to install dependencies.
The build process needs to be changed to use composer --prefer-source ... when GITHUB_TOKEN is empty.
Travis CI (for obvious reasons) does not define encrypted variables when building a PR from a non-member.
The
GITHUB_TOKENvariable is only used to avoid GitHub API rate-limiting affecting Composer's ability to install dependencies.The build process needs to be changed to use
composer --prefer-source ...whenGITHUB_TOKENis empty.