Skip to content
Snippets Groups Projects
Commit 03e33add authored by Adam Hoenich's avatar Adam Hoenich
Browse files

Configure Composer with a GitHub API token to avoid build failures due to rate limiting.

parent 9426f446
Branches
Tags
No related merge requests found
......@@ -45,6 +45,9 @@ before_install:
# Add the ORCA repository.
- composer config --global repositories.orca vcs "https://github.com/acquia/orca"
# Use a personal access token to authenticate with GitHub, to avoid being
# rate-limited. The token is configured in the Travis CI repository settings.
- composer config --global github-oauth.github.com $GITHUB_API_TOKEN
install:
- composer create-project --stability dev --no-dev acquia/orca $ORCA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment