{"action":"created","comment":{"url":"https://api.github.com/repos/IRkernel/IRkernel/pulls/comments/64389621","id":64389621,"diff_hunk":"@@ -0,0 +1,88 @@\n+#!/bin/bash\n+\n+# https://github.com/travis-ci/travis-rubies\n+headline() {\n+    echo -e \"\\033[33;1m${1}\\033[0m\"\n+}\n+\n+fold_wrap() {\n+    local header=$1; shift\n+    local cmd=$1; shift\n+    \n+    travis_fold start $cmd\n+    headline \"$header\"\n+    $cmd\n+    local result=$?\n+    travis_fold end $cmd\n+    return $result\n+}\n+\n+### BEFORE_INSTALL ###\n+\n+install_r_packages() (\n+    set -ex\n+    \n+    # Cairo was missing on OSX, no idea why this wasn't installed :-( Needed for repr\n+    if [[ \"$TRAVIS_OS_NAME\" == osx ]]; then\n+        Rscript -e \"install.packages('Cairo')\"\n+    fi\n+    \n+    # Also test newer versions so that we catch errors earlier\n+    if [[ \"$DEPS\" == github ]]; then\n+        Rscript -e 'devtools::install_github(\"snoweye/pbdZMQ\", \"irkernel/repr\", \"irkernel/IRdisplay\")'\n+    fi\n+)\n+\n+install_miniconda() (\n+    set -ex\n+    \n+    # http://conda.pydata.org/docs/travis.html\n+    if [[ \"$TRAVIS_OS_NAME\" == osx ]]; then os=MacOSX; else os=Linux; fi\n+    wget \"https://repo.continuum.io/miniconda/Miniconda3-latest-$os-x86_64.sh\" -O miniconda.sh\n+    bash miniconda.sh -b -p \"$HOME/miniconda\"\n+    rm miniconda.sh # needed to prevent a error in the R CMD check part\n+)\n+\n+configure_conda() (\n+    set -ex\n+    \n+    hash -r\n+    conda config --set always_yes yes --set changeps1 no\n+    conda update -q conda","path":".travis.sh","position":51,"original_position":51,"commit_id":"6485197bf603bccb695ac43c0acd7390935df7e6","original_commit_id":"0dccb53e0c95739d8ee56c8cacbcccdaaeb955d3","user":{"login":"janschulz","id":890156,"avatar_url":"https://avatars.githubusercontent.com/u/890156?v=3","gravatar_id":"","url":"https://api.github.com/users/janschulz","html_url":"https://github.com/janschulz","followers_url":"https://api.github.com/users/janschulz/followers","following_url":"https://api.github.com/users/janschulz/following{/other_user}","gists_url":"https://api.github.com/users/janschulz/gists{/gist_id}","starred_url":"https://api.github.com/users/janschulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janschulz/subscriptions","organizations_url":"https://api.github.com/users/janschulz/orgs","repos_url":"https://api.github.com/users/janschulz/repos","events_url":"https://api.github.com/users/janschulz/events{/privacy}","received_events_url":"https://api.github.com/users/janschulz/received_events","type":"User","site_admin":false},"body":"IMO these two belong together in a \"create_conda_environment\". If there is a split then IMO between `conda info` and `conda create` (e.g. miniconda is not always useable without the `conda update conda` part)","created_at":"2016-05-24T13:27:55Z","updated_at":"2016-05-24T13:27:55Z","html_url":"https://github.com/IRkernel/IRkernel/pull/345#discussion_r64389621","pull_request_url":"https://api.github.com/repos/IRkernel/IRkernel/pulls/345","_links":{"self":{"href":"https://api.github.com/repos/IRkernel/IRkernel/pulls/comments/64389621"},"html":{"href":"https://github.com/IRkernel/IRkernel/pull/345#discussion_r64389621"},"pull_request":{"href":"https://api.github.com/repos/IRkernel/IRkernel/pulls/345"}}},"pull_request":{"url":"https://api.github.com/repos/IRkernel/IRkernel/pulls/345","id":71215369,"html_url":"https://github.com/IRkernel/IRkernel/pull/345","diff_url":"https://github.com/IRkernel/IRkernel/pull/345.diff","patch_url":"https://github.com/IRkernel/IRkernel/pull/345.patch","issue_url":"https://api.github.com/repos/IRkernel/IRkernel/issues/345","number":345,"state":"open","locked":false,"title":"Structured travis again","user":{"login":"flying-sheep","id":291575,"avatar_url":"https://avatars.githubusercontent.com/u/291575?v=3","gravatar_id":"","url":"https://api.github.com/users/flying-sheep","html_url":"https://github.com/flying-sheep","followers_url":"https://api.github.com/users/flying-sheep/followers","following_url":"https://api.github.com/users/flying-sheep/following{/other_user}","gists_url":"https://api.github.com/users/flying-sheep/gists{/gist_id}","starred_url":"https://api.github.com/users/flying-sheep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flying-sheep/subscriptions","organizations_url":"https://api.github.com/users/flying-sheep/orgs","repos_url":"https://api.github.com/users/flying-sheep/repos","events_url":"https://api.github.com/users/flying-sheep/events{/privacy}","received_events_url":"https://api.github.com/users/flying-sheep/received_events","type":"User","site_admin":false},"body":"I think this concept works well.","created_at":"2016-05-24T13:00:43Z","updated_at":"2016-05-24T13:27:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7f5e734165c115b1c8a7de0b640d262852e9daf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IRkernel/IRkernel/pulls/345/commits","review_comments_url":"https://api.github.com/repos/IRkernel/IRkernel/pulls/345/comments","review_comment_url":"https://api.github.com/repos/IRkernel/IRkernel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IRkernel/IRkernel/issues/345/comments","statuses_url":"https://api.github.com/repos/IRkernel/IRkernel/statuses/6485197bf603bccb695ac43c0acd7390935df7e6","head":{"label":"IRkernel:structure-travis","ref":"structure-travis","sha":"6485197bf603bccb695ac43c0acd7390935df7e6","user":{"login":"IRkernel","id":11616939,"avatar_url":"https://avatars.githubusercontent.com/u/11616939?v=3","gravatar_id":"","url":"https://api.github.com/users/IRkernel","html_url":"https://github.com/IRkernel","followers_url":"https://api.github.com/users/IRkernel/followers","following_url":"https://api.github.com/users/IRkernel/following{/other_user}","gists_url":"https://api.github.com/users/IRkernel/gists{/gist_id}","starred_url":"https://api.github.com/users/IRkernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IRkernel/subscriptions","organizations_url":"https://api.github.com/users/IRkernel/orgs","repos_url":"https://api.github.com/users/IRkernel/repos","events_url":"https://api.github.com/users/IRkernel/events{/privacy}","received_events_url":"https://api.github.com/users/IRkernel/received_events","type":"Organization","site_admin":false},"repo":{"id":17196838,"name":"IRkernel","full_name":"IRkernel/IRkernel","owner":{"login":"IRkernel","id":11616939,"avatar_url":"https://avatars.githubusercontent.com/u/11616939?v=3","gravatar_id":"","url":"https://api.github.com/users/IRkernel","html_url":"https://github.com/IRkernel","followers_url":"https://api.github.com/users/IRkernel/followers","following_url":"https://api.github.com/users/IRkernel/following{/other_user}","gists_url":"https://api.github.com/users/IRkernel/gists{/gist_id}","starred_url":"https://api.github.com/users/IRkernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IRkernel/subscriptions","organizations_url":"https://api.github.com/users/IRkernel/orgs","repos_url":"https://api.github.com/users/IRkernel/repos","events_url":"https://api.github.com/users/IRkernel/events{/privacy}","received_events_url":"https://api.github.com/users/IRkernel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IRkernel/IRkernel","description":"R kernel for Jupyter","fork":false,"url":"https://api.github.com/repos/IRkernel/IRkernel","forks_url":"https://api.github.com/repos/IRkernel/IRkernel/forks","keys_url":"https://api.github.com/repos/IRkernel/IRkernel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IRkernel/IRkernel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IRkernel/IRkernel/teams","hooks_url":"https://api.github.com/repos/IRkernel/IRkernel/hooks","issue_events_url":"https://api.github.com/repos/IRkernel/IRkernel/issues/events{/number}","events_url":"https://api.github.com/repos/IRkernel/IRkernel/events","assignees_url":"https://api.github.com/repos/IRkernel/IRkernel/assignees{/user}","branches_url":"https://api.github.com/repos/IRkernel/IRkernel/branches{/branch}","tags_url":"https://api.github.com/repos/IRkernel/IRkernel/tags","blobs_url":"https://api.github.com/repos/IRkernel/IRkernel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IRkernel/IRkernel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IRkernel/IRkernel/git/refs{/sha}","trees_url":"https://api.github.com/repos/IRkernel/IRkernel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IRkernel/IRkernel/statuses/{sha}","languages_url":"https://api.github.com/repos/IRkernel/IRkernel/languages","stargazers_url":"https://api.github.com/repos/IRkernel/IRkernel/stargazers","contributors_url":"https://api.github.com/repos/IRkernel/IRkernel/contributors","subscribers_url":"https://api.github.com/repos/IRkernel/IRkernel/subscribers","subscription_url":"https://api.github.com/repos/IRkernel/IRkernel/subscription","commits_url":"https://api.github.com/repos/IRkernel/IRkernel/commits{/sha}","git_commits_url":"https://api.github.com/repos/IRkernel/IRkernel/git/commits{/sha}","comments_url":"https://api.github.com/repos/IRkernel/IRkernel/comments{/number}","issue_comment_url":"https://api.github.com/repos/IRkernel/IRkernel/issues/comments{/number}","contents_url":"https://api.github.com/repos/IRkernel/IRkernel/contents/{+path}","compare_url":"https://api.github.com/repos/IRkernel/IRkernel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IRkernel/IRkernel/merges","archive_url":"https://api.github.com/repos/IRkernel/IRkernel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IRkernel/IRkernel/downloads","issues_url":"https://api.github.com/repos/IRkernel/IRkernel/issues{/number}","pulls_url":"https://api.github.com/repos/IRkernel/IRkernel/pulls{/number}","milestones_url":"https://api.github.com/repos/IRkernel/IRkernel/milestones{/number}","notifications_url":"https://api.github.com/repos/IRkernel/IRkernel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IRkernel/IRkernel/labels{/name}","releases_url":"https://api.github.com/repos/IRkernel/IRkernel/releases{/id}","deployments_url":"https://api.github.com/repos/IRkernel/IRkernel/deployments","created_at":"2014-02-26T02:57:07Z","updated_at":"2016-05-23T17:35:38Z","pushed_at":"2016-05-24T13:27:32Z","git_url":"git://github.com/IRkernel/IRkernel.git","ssh_url":"git@github.com:IRkernel/IRkernel.git","clone_url":"https://github.com/IRkernel/IRkernel.git","svn_url":"https://github.com/IRkernel/IRkernel","homepage":"https://irkernel.github.io/","size":499,"stargazers_count":450,"watchers_count":450,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":85,"mirror_url":null,"open_issues_count":43,"forks":85,"open_issues":43,"watchers":450,"default_branch":"master"}},"base":{"label":"IRkernel:master","ref":"master","sha":"b5269f02847837b531d2b01813b265daca483177","user":{"login":"IRkernel","id":11616939,"avatar_url":"https://avatars.githubusercontent.com/u/11616939?v=3","gravatar_id":"","url":"https://api.github.com/users/IRkernel","html_url":"https://github.com/IRkernel","followers_url":"https://api.github.com/users/IRkernel/followers","following_url":"https://api.github.com/users/IRkernel/following{/other_user}","gists_url":"https://api.github.com/users/IRkernel/gists{/gist_id}","starred_url":"https://api.github.com/users/IRkernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IRkernel/subscriptions","organizations_url":"https://api.github.com/users/IRkernel/orgs","repos_url":"https://api.github.com/users/IRkernel/repos","events_url":"https://api.github.com/users/IRkernel/events{/privacy}","received_events_url":"https://api.github.com/users/IRkernel/received_events","type":"Organization","site_admin":false},"repo":{"id":17196838,"name":"IRkernel","full_name":"IRkernel/IRkernel","owner":{"login":"IRkernel","id":11616939,"avatar_url":"https://avatars.githubusercontent.com/u/11616939?v=3","gravatar_id":"","url":"https://api.github.com/users/IRkernel","html_url":"https://github.com/IRkernel","followers_url":"https://api.github.com/users/IRkernel/followers","following_url":"https://api.github.com/users/IRkernel/following{/other_user}","gists_url":"https://api.github.com/users/IRkernel/gists{/gist_id}","starred_url":"https://api.github.com/users/IRkernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IRkernel/subscriptions","organizations_url":"https://api.github.com/users/IRkernel/orgs","repos_url":"https://api.github.com/users/IRkernel/repos","events_url":"https://api.github.com/users/IRkernel/events{/privacy}","received_events_url":"https://api.github.com/users/IRkernel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IRkernel/IRkernel","description":"R kernel for Jupyter","fork":false,"url":"https://api.github.com/repos/IRkernel/IRkernel","forks_url":"https://api.github.com/repos/IRkernel/IRkernel/forks","keys_url":"https://api.github.com/repos/IRkernel/IRkernel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IRkernel/IRkernel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IRkernel/IRkernel/teams","hooks_url":"https://api.github.com/repos/IRkernel/IRkernel/hooks","issue_events_url":"https://api.github.com/repos/IRkernel/IRkernel/issues/events{/number}","events_url":"https://api.github.com/repos/IRkernel/IRkernel/events","assignees_url":"https://api.github.com/repos/IRkernel/IRkernel/assignees{/user}","branches_url":"https://api.github.com/repos/IRkernel/IRkernel/branches{/branch}","tags_url":"https://api.github.com/repos/IRkernel/IRkernel/tags","blobs_url":"https://api.github.com/repos/IRkernel/IRkernel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IRkernel/IRkernel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IRkernel/IRkernel/git/refs{/sha}","trees_url":"https://api.github.com/repos/IRkernel/IRkernel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IRkernel/IRkernel/statuses/{sha}","languages_url":"https://api.github.com/repos/IRkernel/IRkernel/languages","stargazers_url":"https://api.github.com/repos/IRkernel/IRkernel/stargazers","contributors_url":"https://api.github.com/repos/IRkernel/IRkernel/contributors","subscribers_url":"https://api.github.com/repos/IRkernel/IRkernel/subscribers","subscription_url":"https://api.github.com/repos/IRkernel/IRkernel/subscription","commits_url":"https://api.github.com/repos/IRkernel/IRkernel/commits{/sha}","git_commits_url":"https://api.github.com/repos/IRkernel/IRkernel/git/commits{/sha}","comments_url":"https://api.github.com/repos/IRkernel/IRkernel/comments{/number}","issue_comment_url":"https://api.github.com/repos/IRkernel/IRkernel/issues/comments{/number}","contents_url":"https://api.github.com/repos/IRkernel/IRkernel/contents/{+path}","compare_url":"https://api.github.com/repos/IRkernel/IRkernel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IRkernel/IRkernel/merges","archive_url":"https://api.github.com/repos/IRkernel/IRkernel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IRkernel/IRkernel/downloads","issues_url":"https://api.github.com/repos/IRkernel/IRkernel/issues{/number}","pulls_url":"https://api.github.com/repos/IRkernel/IRkernel/pulls{/number}","milestones_url":"https://api.github.com/repos/IRkernel/IRkernel/milestones{/number}","notifications_url":"https://api.github.com/repos/IRkernel/IRkernel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IRkernel/IRkernel/labels{/name}","releases_url":"https://api.github.com/repos/IRkernel/IRkernel/releases{/id}","deployments_url":"https://api.github.com/repos/IRkernel/IRkernel/deployments","created_at":"2014-02-26T02:57:07Z","updated_at":"2016-05-23T17:35:38Z","pushed_at":"2016-05-24T13:27:32Z","git_url":"git://github.com/IRkernel/IRkernel.git","ssh_url":"git@github.com:IRkernel/IRkernel.git","clone_url":"https://github.com/IRkernel/IRkernel.git","svn_url":"https://github.com/IRkernel/IRkernel","homepage":"https://irkernel.github.io/","size":499,"stargazers_count":450,"watchers_count":450,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":85,"mirror_url":null,"open_issues_count":43,"forks":85,"open_issues":43,"watchers":450,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IRkernel/IRkernel/pulls/345"},"html":{"href":"https://github.com/IRkernel/IRkernel/pull/345"},"issue":{"href":"https://api.github.com/repos/IRkernel/IRkernel/issues/345"},"comments":{"href":"https://api.github.com/repos/IRkernel/IRkernel/issues/345/comments"},"review_comments":{"href":"https://api.github.com/repos/IRkernel/IRkernel/pulls/345/comments"},"review_comment":{"href":"https://api.github.com/repos/IRkernel/IRkernel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IRkernel/IRkernel/pulls/345/commits"},"statuses":{"href":"https://api.github.com/repos/IRkernel/IRkernel/statuses/6485197bf603bccb695ac43c0acd7390935df7e6"}}}}
{"actor":{"display_login":"janschulz"}}