{"action":"created","comment":{"url":"https://api.github.com/repos/FinalAngel/django-cms/pulls/comments/46435902","id":46435902,"diff_hunk":"@@ -0,0 +1,153 @@\n+// jshint node: true\n+/*\n+ * Copyright (c) 2013, Divio AG\n+ * Licensed under BSD\n+ * http://github.com/aldryn/aldryn-boilerplate-bootstrap3\n+ */\n+'use strict';\n+\n+var baseConf = require('./base.conf');\n+var argv = require('minimist')(process.argv.slice(2));\n+\n+module.exports = function (config) {\n+\n+    var files = ['*'];\n+    if (argv && argv.tests) {\n+        files = argv.tests.split(',');\n+        console.log('Running tests for ' + files.join(', '));\n+    }\n+\n+    var browsers = {\n+        'PhantomJS': 'used for local testing'\n+    };\n+\n+    // Browsers to run on Sauce Labs\n+    // Check out https://saucelabs.com/platforms for all browser/OS combos\n+    if (process.env.SAUCE_USERNAME && process.env.SAUCE_ACCESS_KEY) {\n+        browsers = baseConf.sauceLabsBrowsers.reduce(function (browsers, capability) {\n+            browsers[JSON.stringify(capability)] = capability;\n+            browsers[JSON.stringify(capability)].base = 'SauceLabs';\n+            return browsers;\n+        }, {});\n+    }\n+\n+    var settings = {\n+        // base path that will be used to resolve all patterns (eg. files, exclude)\n+        basePath: '../../..',\n+\n+        // frameworks to use\n+        // available frameworks: https://npmjs.org/browse/keyword/karma-adapter\n+        frameworks: ['jasmine', 'fixture', 'phantomjs-shim'],\n+\n+        // list of files / patterns to load in the browser\n+        files: [\n+            // these have to be specified in order since\n+            // dependency loading is not handled yet\n+            'cms/static/cms/js/libs/jquery.min.js',\n+            'cms/static/cms/js/libs/class.min.js',\n+            'cms/static/cms/js/libs/pep.js',\n+            'cms/static/cms/js/modules/jquery.ui.custom.js',\n+            'cms/static/cms/js/modules/jquery.ui.touchpunch.js',\n+            'cms/static/cms/js/modules/jquery.ui.nestedsortable.js',\n+            'cms/static/cms/js/modules/cms.base.js',\n+            'cms/static/cms/js/modules/jquery.transition.js',\n+            'cms/static/cms/js/modules/cms.messages.js',","path":"cms/tests/frontend/karma.conf.js","position":54,"original_position":54,"commit_id":"86d0d41178bbaec34be524b176dae516a996b1c7","original_commit_id":"86d0d41178bbaec34be524b176dae516a996b1c7","user":{"login":"vxsx","id":366813,"avatar_url":"https://avatars.githubusercontent.com/u/366813?v=3","gravatar_id":"","url":"https://api.github.com/users/vxsx","html_url":"https://github.com/vxsx","followers_url":"https://api.github.com/users/vxsx/followers","following_url":"https://api.github.com/users/vxsx/following{/other_user}","gists_url":"https://api.github.com/users/vxsx/gists{/gist_id}","starred_url":"https://api.github.com/users/vxsx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vxsx/subscriptions","organizations_url":"https://api.github.com/users/vxsx/orgs","repos_url":"https://api.github.com/users/vxsx/repos","events_url":"https://api.github.com/users/vxsx/events{/privacy}","received_events_url":"https://api.github.com/users/vxsx/received_events","type":"User","site_admin":false},"body":"i would prefer maintaining same order as with the actual bundle (as toolbar depends on navigation for example)","created_at":"2015-12-02T16:21:32Z","updated_at":"2015-12-02T16:21:32Z","html_url":"https://github.com/FinalAngel/django-cms/pull/60#discussion_r46435902","pull_request_url":"https://api.github.com/repos/FinalAngel/django-cms/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/FinalAngel/django-cms/pulls/comments/46435902"},"html":{"href":"https://github.com/FinalAngel/django-cms/pull/60#discussion_r46435902"},"pull_request":{"href":"https://api.github.com/repos/FinalAngel/django-cms/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/FinalAngel/django-cms/pulls/60","id":52415524,"html_url":"https://github.com/FinalAngel/django-cms/pull/60","diff_url":"https://github.com/FinalAngel/django-cms/pull/60.diff","patch_url":"https://github.com/FinalAngel/django-cms/pull/60.patch","issue_url":"https://api.github.com/repos/FinalAngel/django-cms/issues/60","number":60,"state":"open","locked":false,"title":"Unit testing setup","user":{"login":"vxsx","id":366813,"avatar_url":"https://avatars.githubusercontent.com/u/366813?v=3","gravatar_id":"","url":"https://api.github.com/users/vxsx","html_url":"https://github.com/vxsx","followers_url":"https://api.github.com/users/vxsx/followers","following_url":"https://api.github.com/users/vxsx/following{/other_user}","gists_url":"https://api.github.com/users/vxsx/gists{/gist_id}","starred_url":"https://api.github.com/users/vxsx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vxsx/subscriptions","organizations_url":"https://api.github.com/users/vxsx/orgs","repos_url":"https://api.github.com/users/vxsx/repos","events_url":"https://api.github.com/users/vxsx/events{/privacy}","received_events_url":"https://api.github.com/users/vxsx/received_events","type":"User","site_admin":false},"body":"- [x] unit tests setup\r\n- [x] ability to run test files separately\r\n- [x] ability to run tests on travis\r\n- [x] ability to run lint on travis\r\n- [ ] saucelabs integration - lots of problems, postponing (infra is ready though)\r\n- [ ] coveralls data about coverage - not ready yet\r\n- [ ] proper docs - not ready yet\r\n\r\nneed to merge soon so we can start working on integration tests setup in parallel\r\n","created_at":"2015-12-02T16:07:21Z","updated_at":"2015-12-02T16:21:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8dfcbcf435483cbfb734caf2164e0d00899f9da5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FinalAngel/django-cms/pulls/60/commits","review_comments_url":"https://api.github.com/repos/FinalAngel/django-cms/pulls/60/comments","review_comment_url":"https://api.github.com/repos/FinalAngel/django-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FinalAngel/django-cms/issues/60/comments","statuses_url":"https://api.github.com/repos/FinalAngel/django-cms/statuses/86d0d41178bbaec34be524b176dae516a996b1c7","head":{"label":"FinalAngel:feature/unit-testing-setup","ref":"feature/unit-testing-setup","sha":"86d0d41178bbaec34be524b176dae516a996b1c7","user":{"login":"FinalAngel","id":270307,"avatar_url":"https://avatars.githubusercontent.com/u/270307?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalAngel","html_url":"https://github.com/FinalAngel","followers_url":"https://api.github.com/users/FinalAngel/followers","following_url":"https://api.github.com/users/FinalAngel/following{/other_user}","gists_url":"https://api.github.com/users/FinalAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalAngel/subscriptions","organizations_url":"https://api.github.com/users/FinalAngel/orgs","repos_url":"https://api.github.com/users/FinalAngel/repos","events_url":"https://api.github.com/users/FinalAngel/events{/privacy}","received_events_url":"https://api.github.com/users/FinalAngel/received_events","type":"User","site_admin":false},"repo":{"id":748738,"name":"django-cms","full_name":"FinalAngel/django-cms","owner":{"login":"FinalAngel","id":270307,"avatar_url":"https://avatars.githubusercontent.com/u/270307?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalAngel","html_url":"https://github.com/FinalAngel","followers_url":"https://api.github.com/users/FinalAngel/followers","following_url":"https://api.github.com/users/FinalAngel/following{/other_user}","gists_url":"https://api.github.com/users/FinalAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalAngel/subscriptions","organizations_url":"https://api.github.com/users/FinalAngel/orgs","repos_url":"https://api.github.com/users/FinalAngel/repos","events_url":"https://api.github.com/users/FinalAngel/events{/privacy}","received_events_url":"https://api.github.com/users/FinalAngel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FinalAngel/django-cms","description":"An Advanced Django Cms","fork":true,"url":"https://api.github.com/repos/FinalAngel/django-cms","forks_url":"https://api.github.com/repos/FinalAngel/django-cms/forks","keys_url":"https://api.github.com/repos/FinalAngel/django-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FinalAngel/django-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FinalAngel/django-cms/teams","hooks_url":"https://api.github.com/repos/FinalAngel/django-cms/hooks","issue_events_url":"https://api.github.com/repos/FinalAngel/django-cms/issues/events{/number}","events_url":"https://api.github.com/repos/FinalAngel/django-cms/events","assignees_url":"https://api.github.com/repos/FinalAngel/django-cms/assignees{/user}","branches_url":"https://api.github.com/repos/FinalAngel/django-cms/branches{/branch}","tags_url":"https://api.github.com/repos/FinalAngel/django-cms/tags","blobs_url":"https://api.github.com/repos/FinalAngel/django-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FinalAngel/django-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FinalAngel/django-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/FinalAngel/django-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FinalAngel/django-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/FinalAngel/django-cms/languages","stargazers_url":"https://api.github.com/repos/FinalAngel/django-cms/stargazers","contributors_url":"https://api.github.com/repos/FinalAngel/django-cms/contributors","subscribers_url":"https://api.github.com/repos/FinalAngel/django-cms/subscribers","subscription_url":"https://api.github.com/repos/FinalAngel/django-cms/subscription","commits_url":"https://api.github.com/repos/FinalAngel/django-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/FinalAngel/django-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/FinalAngel/django-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/FinalAngel/django-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/FinalAngel/django-cms/contents/{+path}","compare_url":"https://api.github.com/repos/FinalAngel/django-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FinalAngel/django-cms/merges","archive_url":"https://api.github.com/repos/FinalAngel/django-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FinalAngel/django-cms/downloads","issues_url":"https://api.github.com/repos/FinalAngel/django-cms/issues{/number}","pulls_url":"https://api.github.com/repos/FinalAngel/django-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/FinalAngel/django-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/FinalAngel/django-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FinalAngel/django-cms/labels{/name}","releases_url":"https://api.github.com/repos/FinalAngel/django-cms/releases{/id}","created_at":"2010-06-30T09:37:05Z","updated_at":"2015-12-01T17:08:13Z","pushed_at":"2015-12-02T16:07:22Z","git_url":"git://github.com/FinalAngel/django-cms.git","ssh_url":"git@github.com:FinalAngel/django-cms.git","clone_url":"https://github.com/FinalAngel/django-cms.git","svn_url":"https://github.com/FinalAngel/django-cms","homepage":"http://www.django-cms.org","size":56745,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"develop"}},"base":{"label":"FinalAngel:develop-3.4","ref":"develop-3.4","sha":"4f46462754279a4ddb0e29667d569c5843037356","user":{"login":"FinalAngel","id":270307,"avatar_url":"https://avatars.githubusercontent.com/u/270307?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalAngel","html_url":"https://github.com/FinalAngel","followers_url":"https://api.github.com/users/FinalAngel/followers","following_url":"https://api.github.com/users/FinalAngel/following{/other_user}","gists_url":"https://api.github.com/users/FinalAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalAngel/subscriptions","organizations_url":"https://api.github.com/users/FinalAngel/orgs","repos_url":"https://api.github.com/users/FinalAngel/repos","events_url":"https://api.github.com/users/FinalAngel/events{/privacy}","received_events_url":"https://api.github.com/users/FinalAngel/received_events","type":"User","site_admin":false},"repo":{"id":748738,"name":"django-cms","full_name":"FinalAngel/django-cms","owner":{"login":"FinalAngel","id":270307,"avatar_url":"https://avatars.githubusercontent.com/u/270307?v=3","gravatar_id":"","url":"https://api.github.com/users/FinalAngel","html_url":"https://github.com/FinalAngel","followers_url":"https://api.github.com/users/FinalAngel/followers","following_url":"https://api.github.com/users/FinalAngel/following{/other_user}","gists_url":"https://api.github.com/users/FinalAngel/gists{/gist_id}","starred_url":"https://api.github.com/users/FinalAngel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinalAngel/subscriptions","organizations_url":"https://api.github.com/users/FinalAngel/orgs","repos_url":"https://api.github.com/users/FinalAngel/repos","events_url":"https://api.github.com/users/FinalAngel/events{/privacy}","received_events_url":"https://api.github.com/users/FinalAngel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FinalAngel/django-cms","description":"An Advanced Django Cms","fork":true,"url":"https://api.github.com/repos/FinalAngel/django-cms","forks_url":"https://api.github.com/repos/FinalAngel/django-cms/forks","keys_url":"https://api.github.com/repos/FinalAngel/django-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FinalAngel/django-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FinalAngel/django-cms/teams","hooks_url":"https://api.github.com/repos/FinalAngel/django-cms/hooks","issue_events_url":"https://api.github.com/repos/FinalAngel/django-cms/issues/events{/number}","events_url":"https://api.github.com/repos/FinalAngel/django-cms/events","assignees_url":"https://api.github.com/repos/FinalAngel/django-cms/assignees{/user}","branches_url":"https://api.github.com/repos/FinalAngel/django-cms/branches{/branch}","tags_url":"https://api.github.com/repos/FinalAngel/django-cms/tags","blobs_url":"https://api.github.com/repos/FinalAngel/django-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FinalAngel/django-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FinalAngel/django-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/FinalAngel/django-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FinalAngel/django-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/FinalAngel/django-cms/languages","stargazers_url":"https://api.github.com/repos/FinalAngel/django-cms/stargazers","contributors_url":"https://api.github.com/repos/FinalAngel/django-cms/contributors","subscribers_url":"https://api.github.com/repos/FinalAngel/django-cms/subscribers","subscription_url":"https://api.github.com/repos/FinalAngel/django-cms/subscription","commits_url":"https://api.github.com/repos/FinalAngel/django-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/FinalAngel/django-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/FinalAngel/django-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/FinalAngel/django-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/FinalAngel/django-cms/contents/{+path}","compare_url":"https://api.github.com/repos/FinalAngel/django-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FinalAngel/django-cms/merges","archive_url":"https://api.github.com/repos/FinalAngel/django-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FinalAngel/django-cms/downloads","issues_url":"https://api.github.com/repos/FinalAngel/django-cms/issues{/number}","pulls_url":"https://api.github.com/repos/FinalAngel/django-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/FinalAngel/django-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/FinalAngel/django-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FinalAngel/django-cms/labels{/name}","releases_url":"https://api.github.com/repos/FinalAngel/django-cms/releases{/id}","created_at":"2010-06-30T09:37:05Z","updated_at":"2015-12-01T17:08:13Z","pushed_at":"2015-12-02T16:07:22Z","git_url":"git://github.com/FinalAngel/django-cms.git","ssh_url":"git@github.com:FinalAngel/django-cms.git","clone_url":"https://github.com/FinalAngel/django-cms.git","svn_url":"https://github.com/FinalAngel/django-cms","homepage":"http://www.django-cms.org","size":56745,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/FinalAngel/django-cms/pulls/60"},"html":{"href":"https://github.com/FinalAngel/django-cms/pull/60"},"issue":{"href":"https://api.github.com/repos/FinalAngel/django-cms/issues/60"},"comments":{"href":"https://api.github.com/repos/FinalAngel/django-cms/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/FinalAngel/django-cms/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/FinalAngel/django-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FinalAngel/django-cms/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/FinalAngel/django-cms/statuses/86d0d41178bbaec34be524b176dae516a996b1c7"}}}}