{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/3567","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/3567/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/3567/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/3567/events","html_url":"https://github.com/magento/magento2/pull/3567","id":136985905,"number":3567,"title":"Cleanup difficult to maintain Travis setup and addition of enhancements","user":{"login":"davidalger","id":658281,"avatar_url":"https://avatars.githubusercontent.com/u/658281?v=3","gravatar_id":"","url":"https://api.github.com/users/davidalger","html_url":"https://github.com/davidalger","followers_url":"https://api.github.com/users/davidalger/followers","following_url":"https://api.github.com/users/davidalger/following{/other_user}","gists_url":"https://api.github.com/users/davidalger/gists{/gist_id}","starred_url":"https://api.github.com/users/davidalger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidalger/subscriptions","organizations_url":"https://api.github.com/users/davidalger/orgs","repos_url":"https://api.github.com/users/davidalger/repos","events_url":"https://api.github.com/users/davidalger/events{/privacy}","received_events_url":"https://api.github.com/users/davidalger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-28T00:25:11Z","updated_at":"2016-02-29T14:44:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/magento/magento2/pulls/3567","html_url":"https://github.com/magento/magento2/pull/3567","diff_url":"https://github.com/magento/magento2/pull/3567.diff","patch_url":"https://github.com/magento/magento2/pull/3567.patch"},"body":"- Cleans up `.travis.yml` by moving `before_install`, `before_script` and `script` portions to .sh files\r\n- All script components are now in a single location (specifically `dev/travis`)\r\n- Static tests and annotation tests are no longer performed twice (excluded from PHP 7.0 as they were for PHP 5.6)\r\n- Using builtin travis config to install apt packages such as mysql 5.6 and postfix\r\n- Integration test splitting is now 100% maintained by the env vars configured in .travis.yml (`INTEGRATION_INDEX` and `INTEGRATION_SETS`)\r\n- Added support for using a `GITHUB_TOKEN` environment variable to speed up builds\r\n\r\n    This in combination with setting a `public_access` API token on the repository will speed up the test suite by about 20 minutes by cutting ~85 seconds off each call to `composer install` since with this token the deps may be installed from the distribution vs using a clone\r\n\r\n    I've set a `public_access` GitHub API O-Auth token on the `magento/magento2` repository. It will show up in builds, but per the [documentation](https://developer.github.com/v3/oauth/#scopes) is read-only and limited to public information:\r\n\r\n    > Grants read-only access to public information (includes public user profile info, public repository info, and gists)\r\n\r\n**UPDATE**: Now includes the following as well:\r\n\r\n- Moved `testsuite/Magento/Test/Integrity` tests into main integration build\r\n- Combined `static_phpcs` and `static_annotation` into a single build in the matrix\r\n- Integration testsuite preparation is now logging what goes into which build set\r\n- All builds are now using the default `phpunit` configuration file load behavior vs explicit --configuration input"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/190238733","html_url":"https://github.com/magento/magento2/pull/3567#issuecomment-190238733","issue_url":"https://api.github.com/repos/magento/magento2/issues/3567","id":190238733,"user":{"login":"davidalger","id":658281,"avatar_url":"https://avatars.githubusercontent.com/u/658281?v=3","gravatar_id":"","url":"https://api.github.com/users/davidalger","html_url":"https://github.com/davidalger","followers_url":"https://api.github.com/users/davidalger/followers","following_url":"https://api.github.com/users/davidalger/following{/other_user}","gists_url":"https://api.github.com/users/davidalger/gists{/gist_id}","starred_url":"https://api.github.com/users/davidalger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidalger/subscriptions","organizations_url":"https://api.github.com/users/davidalger/orgs","repos_url":"https://api.github.com/users/davidalger/repos","events_url":"https://api.github.com/users/davidalger/events{/privacy}","received_events_url":"https://api.github.com/users/davidalger/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T14:44:37Z","updated_at":"2016-02-29T14:44:37Z","body":"@Flyingmana Good point. Unfortunately if the env vars are set securely (i.e. hidden from logs, etc) they are not available to builds running for PRs though.\r\n\r\nDoes it make a difference in your mind knowing that there is still a rate limit in place when using an API access token? The authenticated rate-limit is set at 5000 requests per hour vs the unauthenticated limit of 60 per hr per IP address."}}