{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/core-docs/pulls/comments/68575985","id":68575985,"diff_hunk":"@@ -64,7 +64,44 @@ in the [CLI repo](https://github.com/dotnet/core/blob/master/Documentation/prere\n The below sections show examples of configurations using the mentioned CI SaaS offerings. \n \n ### TravisCI\n-**TODO**\n+\n+The [travis-ci](https://travis-ci.org/) doesn't have the .NET Core SDK preview1 installed by default, but can be added to any\n+image ( supported by .NET Core SDK ) or language ( like the [c# language](https://docs.travis-ci.com/user/languages/csharp/) who \n+support [Mono](http://www.mono-project.com/) )\n+\n+It's possible to install a specific version of .NET Core SDK, see [example .travis.yml](https://github.com/dotnet/core-docs/blob/master/.travis.yml) \n+for more info.\n+\n+In the example, the .NET Core SDK binaries are downloaded, unzipped in a subdirectory and added to `PATH` env var.\n+\n+The configured build matrix will create two jobs, one for Ubuntu 14.04 and the other for Mac OSX 10.11.\n+\n+```\n+matrix:\n+  include:\n+    - os: linux # Ubuntu 14.04\n+      dist: trusty\n+      sudo: required\n+      env: DOTNET_SDK_URL=https://go.microsoft.com/fwlink/?LinkID=798405 # v1.0.0-preview1","path":"docs/core/tools/using-ci-with-cli.md","position":23,"original_position":23,"commit_id":"ed3f44fb876615595cf71eca5c482acc59b02e25","original_commit_id":"ed3f44fb876615595cf71eca5c482acc59b02e25","user":{"login":"blackdwarf","id":3115004,"avatar_url":"https://avatars.githubusercontent.com/u/3115004?v=3","gravatar_id":"","url":"https://api.github.com/users/blackdwarf","html_url":"https://github.com/blackdwarf","followers_url":"https://api.github.com/users/blackdwarf/followers","following_url":"https://api.github.com/users/blackdwarf/following{/other_user}","gists_url":"https://api.github.com/users/blackdwarf/gists{/gist_id}","starred_url":"https://api.github.com/users/blackdwarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackdwarf/subscriptions","organizations_url":"https://api.github.com/users/blackdwarf/orgs","repos_url":"https://api.github.com/users/blackdwarf/repos","events_url":"https://api.github.com/users/blackdwarf/events{/privacy}","received_events_url":"https://api.github.com/users/blackdwarf/received_events","type":"User","site_admin":false},"body":"Change for preview 2. ","created_at":"2016-06-27T13:31:32Z","updated_at":"2016-06-27T13:31:32Z","html_url":"https://github.com/dotnet/core-docs/pull/460#discussion_r68575985","pull_request_url":"https://api.github.com/repos/dotnet/core-docs/pulls/460","_links":{"self":{"href":"https://api.github.com/repos/dotnet/core-docs/pulls/comments/68575985"},"html":{"href":"https://github.com/dotnet/core-docs/pull/460#discussion_r68575985"},"pull_request":{"href":"https://api.github.com/repos/dotnet/core-docs/pulls/460"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/core-docs/pulls/460","id":71234387,"html_url":"https://github.com/dotnet/core-docs/pull/460","diff_url":"https://github.com/dotnet/core-docs/pull/460.diff","patch_url":"https://github.com/dotnet/core-docs/pull/460.patch","issue_url":"https://api.github.com/repos/dotnet/core-docs/issues/460","number":460,"state":"open","locked":false,"title":"add travisci example (Ubuntu 14.04 and Mac OS X 10.11)","user":{"login":"enricosada","id":147243,"avatar_url":"https://avatars.githubusercontent.com/u/147243?v=3","gravatar_id":"","url":"https://api.github.com/users/enricosada","html_url":"https://github.com/enricosada","followers_url":"https://api.github.com/users/enricosada/followers","following_url":"https://api.github.com/users/enricosada/following{/other_user}","gists_url":"https://api.github.com/users/enricosada/gists{/gist_id}","starred_url":"https://api.github.com/users/enricosada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enricosada/subscriptions","organizations_url":"https://api.github.com/users/enricosada/orgs","repos_url":"https://api.github.com/users/enricosada/repos","events_url":"https://api.github.com/users/enricosada/events{/privacy}","received_events_url":"https://api.github.com/users/enricosada/received_events","type":"User","site_admin":false},"body":"ref https://github.com/dotnet/cli/issues/2113\r\n\r\nit add an example travisci to build:\r\n\r\n- osx 10.11\r\n- ubuntu 14.04\r\n\r\nIt use .NET Core SDK binaries, so it's pretty much curl sdk | unzip to a subdirectory `.dotnetsdk` and add that to PATH\r\n\r\nI used the .net core sdk binaries instead of pkg because are easier to test locally, no need for sudo etc.\r\nThe script from dotnet/cli repo is not used because it's easier to just download and unzip, and also it's easier to understand.\r\n\r\ni am pretty sure for osx deps (because of docs about brew)\r\n\r\nBut i am not sure about ubuntu (see apt deps) because these were needed some months ago, maybe now are not.\r\n\r\nIt use `generic` as travis language, so it's possibile to copy before_install, install in any travis, not only `csharp`.\r\n\r\n\r\n/cc @blackdwarf @akoeplinger\r\n\r\n","created_at":"2016-05-24T14:50:36Z","updated_at":"2016-06-27T13:31:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c9027e394507d12e7934aeabf724204f8375c84","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/core-docs/pulls/460/commits","review_comments_url":"https://api.github.com/repos/dotnet/core-docs/pulls/460/comments","review_comment_url":"https://api.github.com/repos/dotnet/core-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/core-docs/issues/460/comments","statuses_url":"https://api.github.com/repos/dotnet/core-docs/statuses/ed3f44fb876615595cf71eca5c482acc59b02e25","head":{"label":"enricosada:add_travisci","ref":"add_travisci","sha":"ed3f44fb876615595cf71eca5c482acc59b02e25","user":{"login":"enricosada","id":147243,"avatar_url":"https://avatars.githubusercontent.com/u/147243?v=3","gravatar_id":"","url":"https://api.github.com/users/enricosada","html_url":"https://github.com/enricosada","followers_url":"https://api.github.com/users/enricosada/followers","following_url":"https://api.github.com/users/enricosada/following{/other_user}","gists_url":"https://api.github.com/users/enricosada/gists{/gist_id}","starred_url":"https://api.github.com/users/enricosada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enricosada/subscriptions","organizations_url":"https://api.github.com/users/enricosada/orgs","repos_url":"https://api.github.com/users/enricosada/repos","events_url":"https://api.github.com/users/enricosada/events{/privacy}","received_events_url":"https://api.github.com/users/enricosada/received_events","type":"User","site_admin":false},"repo":{"id":59579697,"name":"core-docs","full_name":"enricosada/core-docs","owner":{"login":"enricosada","id":147243,"avatar_url":"https://avatars.githubusercontent.com/u/147243?v=3","gravatar_id":"","url":"https://api.github.com/users/enricosada","html_url":"https://github.com/enricosada","followers_url":"https://api.github.com/users/enricosada/followers","following_url":"https://api.github.com/users/enricosada/following{/other_user}","gists_url":"https://api.github.com/users/enricosada/gists{/gist_id}","starred_url":"https://api.github.com/users/enricosada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enricosada/subscriptions","organizations_url":"https://api.github.com/users/enricosada/orgs","repos_url":"https://api.github.com/users/enricosada/repos","events_url":"https://api.github.com/users/enricosada/events{/privacy}","received_events_url":"https://api.github.com/users/enricosada/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/enricosada/core-docs","description":".NET Core documentation (work in progress).","fork":true,"url":"https://api.github.com/repos/enricosada/core-docs","forks_url":"https://api.github.com/repos/enricosada/core-docs/forks","keys_url":"https://api.github.com/repos/enricosada/core-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enricosada/core-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enricosada/core-docs/teams","hooks_url":"https://api.github.com/repos/enricosada/core-docs/hooks","issue_events_url":"https://api.github.com/repos/enricosada/core-docs/issues/events{/number}","events_url":"https://api.github.com/repos/enricosada/core-docs/events","assignees_url":"https://api.github.com/repos/enricosada/core-docs/assignees{/user}","branches_url":"https://api.github.com/repos/enricosada/core-docs/branches{/branch}","tags_url":"https://api.github.com/repos/enricosada/core-docs/tags","blobs_url":"https://api.github.com/repos/enricosada/core-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enricosada/core-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enricosada/core-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/enricosada/core-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enricosada/core-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/enricosada/core-docs/languages","stargazers_url":"https://api.github.com/repos/enricosada/core-docs/stargazers","contributors_url":"https://api.github.com/repos/enricosada/core-docs/contributors","subscribers_url":"https://api.github.com/repos/enricosada/core-docs/subscribers","subscription_url":"https://api.github.com/repos/enricosada/core-docs/subscription","commits_url":"https://api.github.com/repos/enricosada/core-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/enricosada/core-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/enricosada/core-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/enricosada/core-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/enricosada/core-docs/contents/{+path}","compare_url":"https://api.github.com/repos/enricosada/core-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enricosada/core-docs/merges","archive_url":"https://api.github.com/repos/enricosada/core-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enricosada/core-docs/downloads","issues_url":"https://api.github.com/repos/enricosada/core-docs/issues{/number}","pulls_url":"https://api.github.com/repos/enricosada/core-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/enricosada/core-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/enricosada/core-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enricosada/core-docs/labels{/name}","releases_url":"https://api.github.com/repos/enricosada/core-docs/releases{/id}","deployments_url":"https://api.github.com/repos/enricosada/core-docs/deployments","created_at":"2016-05-24T14:20:21Z","updated_at":"2016-05-24T14:20:23Z","pushed_at":"2016-06-27T10:53:51Z","git_url":"git://github.com/enricosada/core-docs.git","ssh_url":"git@github.com:enricosada/core-docs.git","clone_url":"https://github.com/enricosada/core-docs.git","svn_url":"https://github.com/enricosada/core-docs","homepage":"http://dotnet.github.io/docs/index.html","size":15487,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"dotnet:master","ref":"master","sha":"5a600e3f726a79825feeb44b105885ecd1807143","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":35890081,"name":"core-docs","full_name":"dotnet/core-docs","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/core-docs","description":".NET Core documentation (work in progress).","fork":false,"url":"https://api.github.com/repos/dotnet/core-docs","forks_url":"https://api.github.com/repos/dotnet/core-docs/forks","keys_url":"https://api.github.com/repos/dotnet/core-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/core-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/core-docs/teams","hooks_url":"https://api.github.com/repos/dotnet/core-docs/hooks","issue_events_url":"https://api.github.com/repos/dotnet/core-docs/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/core-docs/events","assignees_url":"https://api.github.com/repos/dotnet/core-docs/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/core-docs/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/core-docs/tags","blobs_url":"https://api.github.com/repos/dotnet/core-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/core-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/core-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/core-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/core-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/core-docs/languages","stargazers_url":"https://api.github.com/repos/dotnet/core-docs/stargazers","contributors_url":"https://api.github.com/repos/dotnet/core-docs/contributors","subscribers_url":"https://api.github.com/repos/dotnet/core-docs/subscribers","subscription_url":"https://api.github.com/repos/dotnet/core-docs/subscription","commits_url":"https://api.github.com/repos/dotnet/core-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/core-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/core-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/core-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/core-docs/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/core-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/core-docs/merges","archive_url":"https://api.github.com/repos/dotnet/core-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/core-docs/downloads","issues_url":"https://api.github.com/repos/dotnet/core-docs/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/core-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/core-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/core-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/core-docs/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/core-docs/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/core-docs/deployments","created_at":"2015-05-19T15:13:32Z","updated_at":"2016-06-26T19:58:36Z","pushed_at":"2016-06-27T11:01:12Z","git_url":"git://github.com/dotnet/core-docs.git","ssh_url":"git@github.com:dotnet/core-docs.git","clone_url":"https://github.com/dotnet/core-docs.git","svn_url":"https://github.com/dotnet/core-docs","homepage":"https://dotnet.github.io/docs/index.html","size":16656,"stargazers_count":115,"watchers_count":115,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":145,"mirror_url":null,"open_issues_count":147,"forks":145,"open_issues":147,"watchers":115,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/core-docs/pulls/460"},"html":{"href":"https://github.com/dotnet/core-docs/pull/460"},"issue":{"href":"https://api.github.com/repos/dotnet/core-docs/issues/460"},"comments":{"href":"https://api.github.com/repos/dotnet/core-docs/issues/460/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/core-docs/pulls/460/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/core-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/core-docs/pulls/460/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/core-docs/statuses/ed3f44fb876615595cf71eca5c482acc59b02e25"}}}}
{"actor":{"display_login":"blackdwarf"}}