{"action":"created","comment":{"url":"https://api.github.com/repos/oppia/oppia/pulls/comments/39935300","id":39935300,"diff_hunk":"@@ -0,0 +1,44 @@\n+language: python\n+\n+python:\n+    - 2.7\n+\n+branches:\n+    only:\n+        - master\n+        - develop\n+\n+env:\n+    matrix:\n+        - BACKEND_TEST=true JS_TEST=false INTEGRATION_TEST=false\n+        - BACKEND_TEST=false JS_TEST=true INTEGRATION_TEST=false\n+        - BACKEND_TEST=flase JS_TEST=false INTEGRATION_TEST=true\n+\n+before_install:\n+    - pip install codecov\n+    - export CHROME_BIN=chromium-browser\n+    - export DISPLAY=:99.0\n+    - sh -e /etc/init.d/xvfb start\n+\n+install:\n+    - set -e\n+    - pushd $TRAVIS_BUILD_DIR\n+    - source scripts/setup.sh || exit 1\n+    - source scripts/setup_gae.sh || exit 1\n+\n+    # Install Google App Engine\n+    - mkdir -p $GOOGLE_APP_ENGINE_HOME\n+    - curl --silent https://storage.googleapis.com/appengine-sdks/deprecated/1919/google_appengine_1.9.19.zip -o gae-download.zip\n+    - unzip -qq gae-download.zip -d $TOOLS_DIR/google_appengine_1.9.19/\n+    - rm gae-download.zip\n+\n+    # Install third party dependencies.\n+    - if [[ $BACKEND_TEST == 'true' ]]; then bash -x scripts/install_third_party.sh; fi","path":".travis.yml","position":36,"original_position":36,"commit_id":"d161563ff2180755fe6389fd258261f87dcb2d22","original_commit_id":"d161563ff2180755fe6389fd258261f87dcb2d22","user":{"login":"seanlip","id":10575562,"avatar_url":"https://avatars.githubusercontent.com/u/10575562?v=3","gravatar_id":"","url":"https://api.github.com/users/seanlip","html_url":"https://github.com/seanlip","followers_url":"https://api.github.com/users/seanlip/followers","following_url":"https://api.github.com/users/seanlip/following{/other_user}","gists_url":"https://api.github.com/users/seanlip/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlip/subscriptions","organizations_url":"https://api.github.com/users/seanlip/orgs","repos_url":"https://api.github.com/users/seanlip/repos","events_url":"https://api.github.com/users/seanlip/events{/privacy}","received_events_url":"https://api.github.com/users/seanlip/received_events","type":"User","site_admin":false},"body":"Ah, ok, oops! Ignore my comment then.","created_at":"2015-09-20T21:55:39Z","updated_at":"2015-09-20T21:55:39Z","html_url":"https://github.com/oppia/oppia/pull/933#discussion_r39935300","pull_request_url":"https://api.github.com/repos/oppia/oppia/pulls/933","_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments/39935300"},"html":{"href":"https://github.com/oppia/oppia/pull/933#discussion_r39935300"},"pull_request":{"href":"https://api.github.com/repos/oppia/oppia/pulls/933"}}},"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/933","id":43318919,"html_url":"https://github.com/oppia/oppia/pull/933","diff_url":"https://github.com/oppia/oppia/pull/933.diff","patch_url":"https://github.com/oppia/oppia/pull/933.patch","issue_url":"https://api.github.com/repos/oppia/oppia/issues/933","number":933,"state":"open","locked":false,"title":"[Work in Progress] Run tests with Travis-CI","user":{"login":"sunu","id":1142203,"avatar_url":"https://avatars.githubusercontent.com/u/1142203?v=3","gravatar_id":"","url":"https://api.github.com/users/sunu","html_url":"https://github.com/sunu","followers_url":"https://api.github.com/users/sunu/followers","following_url":"https://api.github.com/users/sunu/following{/other_user}","gists_url":"https://api.github.com/users/sunu/gists{/gist_id}","starred_url":"https://api.github.com/users/sunu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunu/subscriptions","organizations_url":"https://api.github.com/users/sunu/orgs","repos_url":"https://api.github.com/users/sunu/repos","events_url":"https://api.github.com/users/sunu/events{/privacy}","received_events_url":"https://api.github.com/users/sunu/received_events","type":"User","site_admin":false},"body":"- [x] Run backend tests\r\n- [x] Run JS tests\r\n- [ ] Run integration tests\r\n\r\nThe problem with integration tests is that Travis doesn't support Selenium Chrome driver. See https://github.com/travis-ci/travis-ci/issues/272. So the solution would be to either switch to Firefox driver or use something like [Sauce Labs](https://docs.saucelabs.com/ci-integrations/travis-ci/) which is [free for open source projects](https://saucelabs.com/opensauce/).\r\n\r\nOn a side note, the backend tests take a **long** time to finish (nearly ~1 hour). ","created_at":"2015-08-25T18:20:07Z","updated_at":"2015-09-20T21:55:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e89c6eda9de7d2cd55baf0697c7e3799626c1fa6","assignee":{"login":"BenHenning","id":12983742,"avatar_url":"https://avatars.githubusercontent.com/u/12983742?v=3","gravatar_id":"","url":"https://api.github.com/users/BenHenning","html_url":"https://github.com/BenHenning","followers_url":"https://api.github.com/users/BenHenning/followers","following_url":"https://api.github.com/users/BenHenning/following{/other_user}","gists_url":"https://api.github.com/users/BenHenning/gists{/gist_id}","starred_url":"https://api.github.com/users/BenHenning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenHenning/subscriptions","organizations_url":"https://api.github.com/users/BenHenning/orgs","repos_url":"https://api.github.com/users/BenHenning/repos","events_url":"https://api.github.com/users/BenHenning/events{/privacy}","received_events_url":"https://api.github.com/users/BenHenning/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/oppia/oppia/pulls/933/commits","review_comments_url":"https://api.github.com/repos/oppia/oppia/pulls/933/comments","review_comment_url":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/933/comments","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/d161563ff2180755fe6389fd258261f87dcb2d22","head":{"label":"sunu:travisci","ref":"travisci","sha":"d161563ff2180755fe6389fd258261f87dcb2d22","user":{"login":"sunu","id":1142203,"avatar_url":"https://avatars.githubusercontent.com/u/1142203?v=3","gravatar_id":"","url":"https://api.github.com/users/sunu","html_url":"https://github.com/sunu","followers_url":"https://api.github.com/users/sunu/followers","following_url":"https://api.github.com/users/sunu/following{/other_user}","gists_url":"https://api.github.com/users/sunu/gists{/gist_id}","starred_url":"https://api.github.com/users/sunu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunu/subscriptions","organizations_url":"https://api.github.com/users/sunu/orgs","repos_url":"https://api.github.com/users/sunu/repos","events_url":"https://api.github.com/users/sunu/events{/privacy}","received_events_url":"https://api.github.com/users/sunu/received_events","type":"User","site_admin":false},"repo":{"id":41360335,"name":"oppia","full_name":"sunu/oppia","owner":{"login":"sunu","id":1142203,"avatar_url":"https://avatars.githubusercontent.com/u/1142203?v=3","gravatar_id":"","url":"https://api.github.com/users/sunu","html_url":"https://github.com/sunu","followers_url":"https://api.github.com/users/sunu/followers","following_url":"https://api.github.com/users/sunu/following{/other_user}","gists_url":"https://api.github.com/users/sunu/gists{/gist_id}","starred_url":"https://api.github.com/users/sunu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunu/subscriptions","organizations_url":"https://api.github.com/users/sunu/orgs","repos_url":"https://api.github.com/users/sunu/repos","events_url":"https://api.github.com/users/sunu/events{/privacy}","received_events_url":"https://api.github.com/users/sunu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sunu/oppia","description":"Tool for creating interactive tutors.","fork":true,"url":"https://api.github.com/repos/sunu/oppia","forks_url":"https://api.github.com/repos/sunu/oppia/forks","keys_url":"https://api.github.com/repos/sunu/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sunu/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sunu/oppia/teams","hooks_url":"https://api.github.com/repos/sunu/oppia/hooks","issue_events_url":"https://api.github.com/repos/sunu/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/sunu/oppia/events","assignees_url":"https://api.github.com/repos/sunu/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/sunu/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/sunu/oppia/tags","blobs_url":"https://api.github.com/repos/sunu/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sunu/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sunu/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/sunu/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sunu/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/sunu/oppia/languages","stargazers_url":"https://api.github.com/repos/sunu/oppia/stargazers","contributors_url":"https://api.github.com/repos/sunu/oppia/contributors","subscribers_url":"https://api.github.com/repos/sunu/oppia/subscribers","subscription_url":"https://api.github.com/repos/sunu/oppia/subscription","commits_url":"https://api.github.com/repos/sunu/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/sunu/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/sunu/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/sunu/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/sunu/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/sunu/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sunu/oppia/merges","archive_url":"https://api.github.com/repos/sunu/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sunu/oppia/downloads","issues_url":"https://api.github.com/repos/sunu/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/sunu/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/sunu/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/sunu/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sunu/oppia/labels{/name}","releases_url":"https://api.github.com/repos/sunu/oppia/releases{/id}","created_at":"2015-08-25T11:45:00Z","updated_at":"2015-08-25T11:45:04Z","pushed_at":"2015-08-25T18:08:06Z","git_url":"git://github.com/sunu/oppia.git","ssh_url":"git@github.com:sunu/oppia.git","clone_url":"https://github.com/sunu/oppia.git","svn_url":"https://github.com/sunu/oppia","homepage":"https://www.oppia.org","size":35609,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"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":"develop"}},"base":{"label":"oppia:develop","ref":"develop","sha":"e174ed0284ff06052d7ef234a0aed8ed901f2c2d","user":{"login":"oppia","id":11620230,"avatar_url":"https://avatars.githubusercontent.com/u/11620230?v=3","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"repo":{"id":40687563,"name":"oppia","full_name":"oppia/oppia","owner":{"login":"oppia","id":11620230,"avatar_url":"https://avatars.githubusercontent.com/u/11620230?v=3","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oppia/oppia","description":"Tool for creating interactive tutors.","fork":false,"url":"https://api.github.com/repos/oppia/oppia","forks_url":"https://api.github.com/repos/oppia/oppia/forks","keys_url":"https://api.github.com/repos/oppia/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oppia/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oppia/oppia/teams","hooks_url":"https://api.github.com/repos/oppia/oppia/hooks","issue_events_url":"https://api.github.com/repos/oppia/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/oppia/oppia/events","assignees_url":"https://api.github.com/repos/oppia/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/oppia/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/oppia/oppia/tags","blobs_url":"https://api.github.com/repos/oppia/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oppia/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oppia/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/oppia/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/oppia/oppia/languages","stargazers_url":"https://api.github.com/repos/oppia/oppia/stargazers","contributors_url":"https://api.github.com/repos/oppia/oppia/contributors","subscribers_url":"https://api.github.com/repos/oppia/oppia/subscribers","subscription_url":"https://api.github.com/repos/oppia/oppia/subscription","commits_url":"https://api.github.com/repos/oppia/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/oppia/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/oppia/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/oppia/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/oppia/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/oppia/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oppia/oppia/merges","archive_url":"https://api.github.com/repos/oppia/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oppia/oppia/downloads","issues_url":"https://api.github.com/repos/oppia/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/oppia/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/oppia/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/oppia/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oppia/oppia/labels{/name}","releases_url":"https://api.github.com/repos/oppia/oppia/releases{/id}","created_at":"2015-08-14T00:16:14Z","updated_at":"2015-09-19T18:50:51Z","pushed_at":"2015-09-19T21:38:41Z","git_url":"git://github.com/oppia/oppia.git","ssh_url":"git@github.com:oppia/oppia.git","clone_url":"https://github.com/oppia/oppia.git","svn_url":"https://github.com/oppia/oppia","homepage":"https://www.oppia.org","size":42609,"stargazers_count":31,"watchers_count":31,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":177,"forks":38,"open_issues":177,"watchers":31,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/933"},"html":{"href":"https://github.com/oppia/oppia/pull/933"},"issue":{"href":"https://api.github.com/repos/oppia/oppia/issues/933"},"comments":{"href":"https://api.github.com/repos/oppia/oppia/issues/933/comments"},"review_comments":{"href":"https://api.github.com/repos/oppia/oppia/pulls/933/comments"},"review_comment":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oppia/oppia/pulls/933/commits"},"statuses":{"href":"https://api.github.com/repos/oppia/oppia/statuses/d161563ff2180755fe6389fd258261f87dcb2d22"}}}}