{"action":"created","comment":{"url":"https://api.github.com/repos/awesomeWM/awesome/pulls/comments/65799923","id":65799923,"diff_hunk":"@@ -90,21 +90,75 @@ install:\n   - export AWESOME_VERSION=\"${TRAVIS_BRANCH}-g$(git rev-parse --short HEAD)\"\n   - 'if [ \"$TRAVIS_PULL_REQUEST\" != false ]; then AWESOME_VERSION=\"${AWESOME_VERSION}-PR${TRAVIS_PULL_REQUEST}\"; fi'\n \n+  # Functions for custom Travis folds.\n+  - |\n+    travis_fold_start() {\n+      echo -n \"travis_\"\n+      echo \"fold:start:$1\"\n+      travis_fold_current=\"$1\"\n+    }\n+    travis_fold_end() {\n+      echo -n \"travis_\"\n+      echo \"fold:end:$travis_fold_current\"\n+    }\n script:\n   - export CMAKE_ARGS=\"-DLUA_LIBRARY=${LUALIBRARY} -DLUA_INCLUDE_DIR=${LUAINCLUDE} -D OVERRIDE_VERSION=$AWESOME_VERSION -D DO_COVERAGE=${DO_COVERAGE}\"\n   - |\n     if [ -n \"$BUILD_IN_DIR\" ]; then\n-        SOURCE_DIRECTORY=\"$PWD\"\n-        mkdir \"$BUILD_IN_DIR\"\n-        cd \"$BUILD_IN_DIR\"\n-        cmake $CMAKE_ARGS \"$SOURCE_DIRECTORY\"\n+      travis_fold_start \"build_in_dir\"\n+      SOURCE_DIRECTORY=\"$PWD\"\n+      mkdir \"$BUILD_IN_DIR\"\n+      cd \"$BUILD_IN_DIR\"\n+      cmake $CMAKE_ARGS \"$SOURCE_DIRECTORY\"\n+      cd -\n+      travis_fold_end","path":".travis.yml","position":42,"original_position":42,"commit_id":"d101758c5928b3af2a5b8959b6878b760e32f545","original_commit_id":"d101758c5928b3af2a5b8959b6878b760e32f545","user":{"login":"psychon","id":89482,"avatar_url":"https://avatars.githubusercontent.com/u/89482?v=3","gravatar_id":"","url":"https://api.github.com/users/psychon","html_url":"https://github.com/psychon","followers_url":"https://api.github.com/users/psychon/followers","following_url":"https://api.github.com/users/psychon/following{/other_user}","gists_url":"https://api.github.com/users/psychon/gists{/gist_id}","starred_url":"https://api.github.com/users/psychon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psychon/subscriptions","organizations_url":"https://api.github.com/users/psychon/orgs","repos_url":"https://api.github.com/users/psychon/repos","events_url":"https://api.github.com/users/psychon/events{/privacy}","received_events_url":"https://api.github.com/users/psychon/received_events","type":"User","site_admin":false},"body":"How does this `build_in_dir`-fold interact with the fold that travis automatically creates for each separate command?","created_at":"2016-06-04T09:05:34Z","updated_at":"2016-06-04T09:05:34Z","html_url":"https://github.com/awesomeWM/awesome/pull/936#discussion_r65799923","pull_request_url":"https://api.github.com/repos/awesomeWM/awesome/pulls/936","_links":{"self":{"href":"https://api.github.com/repos/awesomeWM/awesome/pulls/comments/65799923"},"html":{"href":"https://github.com/awesomeWM/awesome/pull/936#discussion_r65799923"},"pull_request":{"href":"https://api.github.com/repos/awesomeWM/awesome/pulls/936"}}},"pull_request":{"url":"https://api.github.com/repos/awesomeWM/awesome/pulls/936","id":72082438,"html_url":"https://github.com/awesomeWM/awesome/pull/936","diff_url":"https://github.com/awesomeWM/awesome/pull/936.diff","patch_url":"https://github.com/awesomeWM/awesome/pull/936.patch","issue_url":"https://api.github.com/repos/awesomeWM/awesome/issues/936","number":936,"state":"open","locked":false,"title":"Travis: test each commit","user":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"body":"TODO:\r\n - [ ] would be nice if we could set the status for previous commits in the PR then (like you have it currently for commits that where built/tested)  -- I've asked the Travis support team about this, but let's not hold this back for this.","created_at":"2016-05-31T20:43:23Z","updated_at":"2016-06-04T09:05:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35281057adb41d4aa8132f13c0b742a8e7765780","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/awesomeWM/awesome/pulls/936/commits","review_comments_url":"https://api.github.com/repos/awesomeWM/awesome/pulls/936/comments","review_comment_url":"https://api.github.com/repos/awesomeWM/awesome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awesomeWM/awesome/issues/936/comments","statuses_url":"https://api.github.com/repos/awesomeWM/awesome/statuses/d101758c5928b3af2a5b8959b6878b760e32f545","head":{"label":"blueyed:travis-per-commit","ref":"travis-per-commit","sha":"d101758c5928b3af2a5b8959b6878b760e32f545","user":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"repo":{"id":17379361,"name":"awesome","full_name":"blueyed/awesome","owner":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blueyed/awesome","description":"Awesome Window Manager. This repo is used for pull requests only.","fork":true,"url":"https://api.github.com/repos/blueyed/awesome","forks_url":"https://api.github.com/repos/blueyed/awesome/forks","keys_url":"https://api.github.com/repos/blueyed/awesome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blueyed/awesome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blueyed/awesome/teams","hooks_url":"https://api.github.com/repos/blueyed/awesome/hooks","issue_events_url":"https://api.github.com/repos/blueyed/awesome/issues/events{/number}","events_url":"https://api.github.com/repos/blueyed/awesome/events","assignees_url":"https://api.github.com/repos/blueyed/awesome/assignees{/user}","branches_url":"https://api.github.com/repos/blueyed/awesome/branches{/branch}","tags_url":"https://api.github.com/repos/blueyed/awesome/tags","blobs_url":"https://api.github.com/repos/blueyed/awesome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blueyed/awesome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blueyed/awesome/git/refs{/sha}","trees_url":"https://api.github.com/repos/blueyed/awesome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blueyed/awesome/statuses/{sha}","languages_url":"https://api.github.com/repos/blueyed/awesome/languages","stargazers_url":"https://api.github.com/repos/blueyed/awesome/stargazers","contributors_url":"https://api.github.com/repos/blueyed/awesome/contributors","subscribers_url":"https://api.github.com/repos/blueyed/awesome/subscribers","subscription_url":"https://api.github.com/repos/blueyed/awesome/subscription","commits_url":"https://api.github.com/repos/blueyed/awesome/commits{/sha}","git_commits_url":"https://api.github.com/repos/blueyed/awesome/git/commits{/sha}","comments_url":"https://api.github.com/repos/blueyed/awesome/comments{/number}","issue_comment_url":"https://api.github.com/repos/blueyed/awesome/issues/comments{/number}","contents_url":"https://api.github.com/repos/blueyed/awesome/contents/{+path}","compare_url":"https://api.github.com/repos/blueyed/awesome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blueyed/awesome/merges","archive_url":"https://api.github.com/repos/blueyed/awesome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blueyed/awesome/downloads","issues_url":"https://api.github.com/repos/blueyed/awesome/issues{/number}","pulls_url":"https://api.github.com/repos/blueyed/awesome/pulls{/number}","milestones_url":"https://api.github.com/repos/blueyed/awesome/milestones{/number}","notifications_url":"https://api.github.com/repos/blueyed/awesome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blueyed/awesome/labels{/name}","releases_url":"https://api.github.com/repos/blueyed/awesome/releases{/id}","deployments_url":"https://api.github.com/repos/blueyed/awesome/deployments","created_at":"2014-03-03T20:40:24Z","updated_at":"2015-01-31T21:58:24Z","pushed_at":"2016-06-03T23:59:08Z","git_url":"git://github.com/blueyed/awesome.git","ssh_url":"git@github.com:blueyed/awesome.git","clone_url":"https://github.com/blueyed/awesome.git","svn_url":"https://github.com/blueyed/awesome","homepage":"https://awesome.naquadah.org/","size":11457,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"awesomeWM:master","ref":"master","sha":"4e35d1fdd777d65ae1f022e301bd35a817e9b4a2","user":{"login":"awesomeWM","id":6843364,"avatar_url":"https://avatars.githubusercontent.com/u/6843364?v=3","gravatar_id":"","url":"https://api.github.com/users/awesomeWM","html_url":"https://github.com/awesomeWM","followers_url":"https://api.github.com/users/awesomeWM/followers","following_url":"https://api.github.com/users/awesomeWM/following{/other_user}","gists_url":"https://api.github.com/users/awesomeWM/gists{/gist_id}","starred_url":"https://api.github.com/users/awesomeWM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesomeWM/subscriptions","organizations_url":"https://api.github.com/users/awesomeWM/orgs","repos_url":"https://api.github.com/users/awesomeWM/repos","events_url":"https://api.github.com/users/awesomeWM/events{/privacy}","received_events_url":"https://api.github.com/users/awesomeWM/received_events","type":"Organization","site_admin":false},"repo":{"id":17378009,"name":"awesome","full_name":"awesomeWM/awesome","owner":{"login":"awesomeWM","id":6843364,"avatar_url":"https://avatars.githubusercontent.com/u/6843364?v=3","gravatar_id":"","url":"https://api.github.com/users/awesomeWM","html_url":"https://github.com/awesomeWM","followers_url":"https://api.github.com/users/awesomeWM/followers","following_url":"https://api.github.com/users/awesomeWM/following{/other_user}","gists_url":"https://api.github.com/users/awesomeWM/gists{/gist_id}","starred_url":"https://api.github.com/users/awesomeWM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesomeWM/subscriptions","organizations_url":"https://api.github.com/users/awesomeWM/orgs","repos_url":"https://api.github.com/users/awesomeWM/repos","events_url":"https://api.github.com/users/awesomeWM/events{/privacy}","received_events_url":"https://api.github.com/users/awesomeWM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/awesomeWM/awesome","description":"awesome window manager","fork":false,"url":"https://api.github.com/repos/awesomeWM/awesome","forks_url":"https://api.github.com/repos/awesomeWM/awesome/forks","keys_url":"https://api.github.com/repos/awesomeWM/awesome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awesomeWM/awesome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awesomeWM/awesome/teams","hooks_url":"https://api.github.com/repos/awesomeWM/awesome/hooks","issue_events_url":"https://api.github.com/repos/awesomeWM/awesome/issues/events{/number}","events_url":"https://api.github.com/repos/awesomeWM/awesome/events","assignees_url":"https://api.github.com/repos/awesomeWM/awesome/assignees{/user}","branches_url":"https://api.github.com/repos/awesomeWM/awesome/branches{/branch}","tags_url":"https://api.github.com/repos/awesomeWM/awesome/tags","blobs_url":"https://api.github.com/repos/awesomeWM/awesome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awesomeWM/awesome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awesomeWM/awesome/git/refs{/sha}","trees_url":"https://api.github.com/repos/awesomeWM/awesome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awesomeWM/awesome/statuses/{sha}","languages_url":"https://api.github.com/repos/awesomeWM/awesome/languages","stargazers_url":"https://api.github.com/repos/awesomeWM/awesome/stargazers","contributors_url":"https://api.github.com/repos/awesomeWM/awesome/contributors","subscribers_url":"https://api.github.com/repos/awesomeWM/awesome/subscribers","subscription_url":"https://api.github.com/repos/awesomeWM/awesome/subscription","commits_url":"https://api.github.com/repos/awesomeWM/awesome/commits{/sha}","git_commits_url":"https://api.github.com/repos/awesomeWM/awesome/git/commits{/sha}","comments_url":"https://api.github.com/repos/awesomeWM/awesome/comments{/number}","issue_comment_url":"https://api.github.com/repos/awesomeWM/awesome/issues/comments{/number}","contents_url":"https://api.github.com/repos/awesomeWM/awesome/contents/{+path}","compare_url":"https://api.github.com/repos/awesomeWM/awesome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awesomeWM/awesome/merges","archive_url":"https://api.github.com/repos/awesomeWM/awesome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awesomeWM/awesome/downloads","issues_url":"https://api.github.com/repos/awesomeWM/awesome/issues{/number}","pulls_url":"https://api.github.com/repos/awesomeWM/awesome/pulls{/number}","milestones_url":"https://api.github.com/repos/awesomeWM/awesome/milestones{/number}","notifications_url":"https://api.github.com/repos/awesomeWM/awesome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awesomeWM/awesome/labels{/name}","releases_url":"https://api.github.com/repos/awesomeWM/awesome/releases{/id}","deployments_url":"https://api.github.com/repos/awesomeWM/awesome/deployments","created_at":"2014-03-03T19:56:16Z","updated_at":"2016-06-03T23:49:13Z","pushed_at":"2016-06-03T23:59:09Z","git_url":"git://github.com/awesomeWM/awesome.git","ssh_url":"git@github.com:awesomeWM/awesome.git","clone_url":"https://github.com/awesomeWM/awesome.git","svn_url":"https://github.com/awesomeWM/awesome","homepage":"https://awesomewm.org/","size":16051,"stargazers_count":767,"watchers_count":767,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":119,"mirror_url":null,"open_issues_count":123,"forks":119,"open_issues":123,"watchers":767,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/awesomeWM/awesome/pulls/936"},"html":{"href":"https://github.com/awesomeWM/awesome/pull/936"},"issue":{"href":"https://api.github.com/repos/awesomeWM/awesome/issues/936"},"comments":{"href":"https://api.github.com/repos/awesomeWM/awesome/issues/936/comments"},"review_comments":{"href":"https://api.github.com/repos/awesomeWM/awesome/pulls/936/comments"},"review_comment":{"href":"https://api.github.com/repos/awesomeWM/awesome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awesomeWM/awesome/pulls/936/commits"},"statuses":{"href":"https://api.github.com/repos/awesomeWM/awesome/statuses/d101758c5928b3af2a5b8959b6878b760e32f545"}}}}
{"actor":{"display_login":"psychon"}}