{"action":"created","comment":{"url":"https://api.github.com/repos/cisco/elsy/pulls/comments/79288967","id":79288967,"diff_hunk":"@@ -0,0 +1,46 @@\n+language: bash\n+sudo: required\n+\n+env:\n+  DOCKER_COMPOSE_VERSION: 1.7.1\n+  DOCKER_VERSION: 1.10.3\n+  LC_VERSION: 1.2.1\n+\n+before_install:\n+  # docker\n+  - sudo apt-get update && sudo apt-get install apt-transport-https ca-certificates\n+  - sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D\n+  - sudo bash -c \"echo deb https://apt.dockerproject.org/repo ubuntu-precise main > /etc/apt/sources.list.d/docker.list\"\n+  - sudo apt-get update\n+  - sudo apt-get purge lxc-docker\n+  - sudo apt-get install docker-engine=${DOCKER_VERSION}-0~precise\n+  # docker-compose\n+  - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose\n+  - chmod +x docker-compose\n+  - sudo mv docker-compose /usr/local/bin\n+  # elsy\n+  - curl -L https://github.com/cisco/elsy/releases/download/v${LC_VERSION}/lc-linux-amd64-${LC_VERSION} > lc\n+  - chmod +x lc\n+  - sudo mv lc /usr/local/bin\n+\n+script:\n+  ## need to set GIT_BRANCH and GIT_TAG_NAME for lc, following pattern from: https://graysonkoonce.com/getting-the-current-branch-name-during-a-pull-request-in-travis-ci/\n+  - export PR=https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST\n+  - export GIT_BRANCH=origin/$(if [ \"$TRAVIS_PULL_REQUEST\" == \"false\" ]; then echo $TRAVIS_BRANCH; else echo `curl -s $PR | jq -r .head.ref`; fi)\n+  - export GIT_TAG_NAME=${TRAVIS_TAG}\n+  - echo \"TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, GIT_BRANCH=$GIT_BRANCH GIT_TAG_NAME=$GIT_TAG_NAME\"\n+  ## blackbox-tests need wide columns when inspecting logs\n+  - stty cols 200\n+  ## need to fix above docker-engine install to not require sudo\n+  - sudo lc ci\n+\n+deploy:\n+  provider: releases\n+  api_key:\n+    secure: x7jhmnBGG6T41Iry3KfDzljAu0GmI9bzEaFCZDN8vUqvdRkkc3q8/DerRM620Yoq8HBK5YIAeFtv+fEpD6jtINcgAaICbyPe63/OSeZxvYZv3yuv9TJLX8HpW9cyRODsTVB4EK2/Ske0QJySR3meuVNsZAx6lruIS8i5sD9c1d2E1LyT+qCSrWB2XM4BRLSOtLJYd1pAMN6AGE+luQaSnARsmPdInHGiTm7fR0y0w6tAXNU93SiQlhLwljJoQtQ1JLqCwsNXLVRZGpnCKL2K+uLy0DoQvvkcJVN1dJLB9FDJ82rWWvicDJ44eUkPSk0mycxnNpCPBoXgVt2nJTjVUSaDJIibHtd25mUOeX2B+SequSbMuF1ktnmhCvFCF8e6YfbHYHfTQtM3kocS4WL5OTgDgT1NQ7RJzx9eJgYFsia9F1/JQrDabcr8rxotF+bLXJS618Fz+FXYNdOrx6Eslcwj3ckmMQZKEb6qdrhDVK/o21e9yf8ol8Yen32p03J6u6J/EyFjOMmGXwdVz+NIBKryLftxOXXoH+6rt2wZ7niyVsTWuH/qu6jE2IkHwloTpQr0ItH8fokMsQ7tT/GeoCnbadb5TQjH9qBHqas8RLvajLUblfafVF2oBYybtaRl2UiqFlXKWHoZk6GzKHIrFxcFUaPkCQyR8V+ZWdzURjY=","path":".travis.yml","position":40,"original_position":40,"commit_id":"1deda234d9107276e7c88691420d392fdf313270","original_commit_id":"1deda234d9107276e7c88691420d392fdf313270","user":{"login":"paulcichonski","id":279886,"avatar_url":"https://avatars.githubusercontent.com/u/279886?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcichonski","html_url":"https://github.com/paulcichonski","followers_url":"https://api.github.com/users/paulcichonski/followers","following_url":"https://api.github.com/users/paulcichonski/following{/other_user}","gists_url":"https://api.github.com/users/paulcichonski/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcichonski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcichonski/subscriptions","organizations_url":"https://api.github.com/users/paulcichonski/orgs","repos_url":"https://api.github.com/users/paulcichonski/repos","events_url":"https://api.github.com/users/paulcichonski/events{/privacy}","received_events_url":"https://api.github.com/users/paulcichonski/received_events","type":"User","site_admin":false},"body":">is it ok to have it visible?\r\nYeah, i used the `travis setup releases`[1] command to create that, and under the hood it creates and encyrpts (using asymmetric crypto) a github oauth token using the `travis encyrpt` sub-command[2]. Travis keeps the private key on its end.\r\n\r\n[1] https://docs.travis-ci.com/user/deployment/releases\r\n[2] https://docs.travis-ci.com/user/encryption-keys/","created_at":"2016-09-17T18:02:00Z","updated_at":"2016-09-17T18:02:00Z","html_url":"https://github.com/cisco/elsy/pull/3#discussion_r79288967","pull_request_url":"https://api.github.com/repos/cisco/elsy/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/cisco/elsy/pulls/comments/79288967"},"html":{"href":"https://github.com/cisco/elsy/pull/3#discussion_r79288967"},"pull_request":{"href":"https://api.github.com/repos/cisco/elsy/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/cisco/elsy/pulls/3","id":85678532,"html_url":"https://github.com/cisco/elsy/pull/3","diff_url":"https://github.com/cisco/elsy/pull/3.diff","patch_url":"https://github.com/cisco/elsy/pull/3.patch","issue_url":"https://api.github.com/repos/cisco/elsy/issues/3","number":3,"state":"open","locked":false,"title":"Add Travis Build","user":{"login":"paulcichonski","id":279886,"avatar_url":"https://avatars.githubusercontent.com/u/279886?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcichonski","html_url":"https://github.com/paulcichonski","followers_url":"https://api.github.com/users/paulcichonski/followers","following_url":"https://api.github.com/users/paulcichonski/following{/other_user}","gists_url":"https://api.github.com/users/paulcichonski/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcichonski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcichonski/subscriptions","organizations_url":"https://api.github.com/users/paulcichonski/orgs","repos_url":"https://api.github.com/users/paulcichonski/repos","events_url":"https://api.github.com/users/paulcichonski/events{/privacy}","received_events_url":"https://api.github.com/users/paulcichonski/received_events","type":"User","site_admin":false},"body":"cc @munkyboy @joeygibson ","created_at":"2016-09-17T16:08:47Z","updated_at":"2016-09-17T18:02:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fd2b71b7167e2e0c796469c285932608fa5a1b7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cisco/elsy/pulls/3/commits","review_comments_url":"https://api.github.com/repos/cisco/elsy/pulls/3/comments","review_comment_url":"https://api.github.com/repos/cisco/elsy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cisco/elsy/issues/3/comments","statuses_url":"https://api.github.com/repos/cisco/elsy/statuses/1deda234d9107276e7c88691420d392fdf313270","head":{"label":"paulcichonski:travis-build","ref":"travis-build","sha":"1deda234d9107276e7c88691420d392fdf313270","user":{"login":"paulcichonski","id":279886,"avatar_url":"https://avatars.githubusercontent.com/u/279886?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcichonski","html_url":"https://github.com/paulcichonski","followers_url":"https://api.github.com/users/paulcichonski/followers","following_url":"https://api.github.com/users/paulcichonski/following{/other_user}","gists_url":"https://api.github.com/users/paulcichonski/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcichonski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcichonski/subscriptions","organizations_url":"https://api.github.com/users/paulcichonski/orgs","repos_url":"https://api.github.com/users/paulcichonski/repos","events_url":"https://api.github.com/users/paulcichonski/events{/privacy}","received_events_url":"https://api.github.com/users/paulcichonski/received_events","type":"User","site_admin":false},"repo":{"id":68225639,"name":"elsy","full_name":"paulcichonski/elsy","owner":{"login":"paulcichonski","id":279886,"avatar_url":"https://avatars.githubusercontent.com/u/279886?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcichonski","html_url":"https://github.com/paulcichonski","followers_url":"https://api.github.com/users/paulcichonski/followers","following_url":"https://api.github.com/users/paulcichonski/following{/other_user}","gists_url":"https://api.github.com/users/paulcichonski/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcichonski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcichonski/subscriptions","organizations_url":"https://api.github.com/users/paulcichonski/orgs","repos_url":"https://api.github.com/users/paulcichonski/repos","events_url":"https://api.github.com/users/paulcichonski/events{/privacy}","received_events_url":"https://api.github.com/users/paulcichonski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulcichonski/elsy","description":"An opinionated, multi-language, build tool based on Docker and Docker Compose","fork":true,"url":"https://api.github.com/repos/paulcichonski/elsy","forks_url":"https://api.github.com/repos/paulcichonski/elsy/forks","keys_url":"https://api.github.com/repos/paulcichonski/elsy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulcichonski/elsy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulcichonski/elsy/teams","hooks_url":"https://api.github.com/repos/paulcichonski/elsy/hooks","issue_events_url":"https://api.github.com/repos/paulcichonski/elsy/issues/events{/number}","events_url":"https://api.github.com/repos/paulcichonski/elsy/events","assignees_url":"https://api.github.com/repos/paulcichonski/elsy/assignees{/user}","branches_url":"https://api.github.com/repos/paulcichonski/elsy/branches{/branch}","tags_url":"https://api.github.com/repos/paulcichonski/elsy/tags","blobs_url":"https://api.github.com/repos/paulcichonski/elsy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulcichonski/elsy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulcichonski/elsy/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulcichonski/elsy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulcichonski/elsy/statuses/{sha}","languages_url":"https://api.github.com/repos/paulcichonski/elsy/languages","stargazers_url":"https://api.github.com/repos/paulcichonski/elsy/stargazers","contributors_url":"https://api.github.com/repos/paulcichonski/elsy/contributors","subscribers_url":"https://api.github.com/repos/paulcichonski/elsy/subscribers","subscription_url":"https://api.github.com/repos/paulcichonski/elsy/subscription","commits_url":"https://api.github.com/repos/paulcichonski/elsy/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulcichonski/elsy/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulcichonski/elsy/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulcichonski/elsy/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulcichonski/elsy/contents/{+path}","compare_url":"https://api.github.com/repos/paulcichonski/elsy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulcichonski/elsy/merges","archive_url":"https://api.github.com/repos/paulcichonski/elsy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulcichonski/elsy/downloads","issues_url":"https://api.github.com/repos/paulcichonski/elsy/issues{/number}","pulls_url":"https://api.github.com/repos/paulcichonski/elsy/pulls{/number}","milestones_url":"https://api.github.com/repos/paulcichonski/elsy/milestones{/number}","notifications_url":"https://api.github.com/repos/paulcichonski/elsy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulcichonski/elsy/labels{/name}","releases_url":"https://api.github.com/repos/paulcichonski/elsy/releases{/id}","deployments_url":"https://api.github.com/repos/paulcichonski/elsy/deployments","created_at":"2016-09-14T16:58:15Z","updated_at":"2016-09-14T16:58:16Z","pushed_at":"2016-09-17T15:53:58Z","git_url":"git://github.com/paulcichonski/elsy.git","ssh_url":"git@github.com:paulcichonski/elsy.git","clone_url":"https://github.com/paulcichonski/elsy.git","svn_url":"https://github.com/paulcichonski/elsy","homepage":null,"size":315,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"cisco:master","ref":"master","sha":"9dfe209b0528fd699b1021960b2aac7c0723f394","user":{"login":"cisco","id":1376999,"avatar_url":"https://avatars.githubusercontent.com/u/1376999?v=3","gravatar_id":"","url":"https://api.github.com/users/cisco","html_url":"https://github.com/cisco","followers_url":"https://api.github.com/users/cisco/followers","following_url":"https://api.github.com/users/cisco/following{/other_user}","gists_url":"https://api.github.com/users/cisco/gists{/gist_id}","starred_url":"https://api.github.com/users/cisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cisco/subscriptions","organizations_url":"https://api.github.com/users/cisco/orgs","repos_url":"https://api.github.com/users/cisco/repos","events_url":"https://api.github.com/users/cisco/events{/privacy}","received_events_url":"https://api.github.com/users/cisco/received_events","type":"Organization","site_admin":false},"repo":{"id":67536560,"name":"elsy","full_name":"cisco/elsy","owner":{"login":"cisco","id":1376999,"avatar_url":"https://avatars.githubusercontent.com/u/1376999?v=3","gravatar_id":"","url":"https://api.github.com/users/cisco","html_url":"https://github.com/cisco","followers_url":"https://api.github.com/users/cisco/followers","following_url":"https://api.github.com/users/cisco/following{/other_user}","gists_url":"https://api.github.com/users/cisco/gists{/gist_id}","starred_url":"https://api.github.com/users/cisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cisco/subscriptions","organizations_url":"https://api.github.com/users/cisco/orgs","repos_url":"https://api.github.com/users/cisco/repos","events_url":"https://api.github.com/users/cisco/events{/privacy}","received_events_url":"https://api.github.com/users/cisco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cisco/elsy","description":"An opinionated, multi-language, build tool based on Docker and Docker Compose","fork":false,"url":"https://api.github.com/repos/cisco/elsy","forks_url":"https://api.github.com/repos/cisco/elsy/forks","keys_url":"https://api.github.com/repos/cisco/elsy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cisco/elsy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cisco/elsy/teams","hooks_url":"https://api.github.com/repos/cisco/elsy/hooks","issue_events_url":"https://api.github.com/repos/cisco/elsy/issues/events{/number}","events_url":"https://api.github.com/repos/cisco/elsy/events","assignees_url":"https://api.github.com/repos/cisco/elsy/assignees{/user}","branches_url":"https://api.github.com/repos/cisco/elsy/branches{/branch}","tags_url":"https://api.github.com/repos/cisco/elsy/tags","blobs_url":"https://api.github.com/repos/cisco/elsy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cisco/elsy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cisco/elsy/git/refs{/sha}","trees_url":"https://api.github.com/repos/cisco/elsy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cisco/elsy/statuses/{sha}","languages_url":"https://api.github.com/repos/cisco/elsy/languages","stargazers_url":"https://api.github.com/repos/cisco/elsy/stargazers","contributors_url":"https://api.github.com/repos/cisco/elsy/contributors","subscribers_url":"https://api.github.com/repos/cisco/elsy/subscribers","subscription_url":"https://api.github.com/repos/cisco/elsy/subscription","commits_url":"https://api.github.com/repos/cisco/elsy/commits{/sha}","git_commits_url":"https://api.github.com/repos/cisco/elsy/git/commits{/sha}","comments_url":"https://api.github.com/repos/cisco/elsy/comments{/number}","issue_comment_url":"https://api.github.com/repos/cisco/elsy/issues/comments{/number}","contents_url":"https://api.github.com/repos/cisco/elsy/contents/{+path}","compare_url":"https://api.github.com/repos/cisco/elsy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cisco/elsy/merges","archive_url":"https://api.github.com/repos/cisco/elsy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cisco/elsy/downloads","issues_url":"https://api.github.com/repos/cisco/elsy/issues{/number}","pulls_url":"https://api.github.com/repos/cisco/elsy/pulls{/number}","milestones_url":"https://api.github.com/repos/cisco/elsy/milestones{/number}","notifications_url":"https://api.github.com/repos/cisco/elsy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cisco/elsy/labels{/name}","releases_url":"https://api.github.com/repos/cisco/elsy/releases{/id}","deployments_url":"https://api.github.com/repos/cisco/elsy/deployments","created_at":"2016-09-06T18:40:47Z","updated_at":"2016-09-14T19:15:10Z","pushed_at":"2016-09-17T16:08:47Z","git_url":"git://github.com/cisco/elsy.git","ssh_url":"git@github.com:cisco/elsy.git","clone_url":"https://github.com/cisco/elsy.git","svn_url":"https://github.com/cisco/elsy","homepage":null,"size":297,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cisco/elsy/pulls/3"},"html":{"href":"https://github.com/cisco/elsy/pull/3"},"issue":{"href":"https://api.github.com/repos/cisco/elsy/issues/3"},"comments":{"href":"https://api.github.com/repos/cisco/elsy/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/cisco/elsy/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/cisco/elsy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cisco/elsy/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/cisco/elsy/statuses/1deda234d9107276e7c88691420d392fdf313270"}}}}
{"actor":{"display_login":"paulcichonski"}}