refactor(testing): split travis end to end tests into separate jobs for jquery and jqlite

Closes #6159
This commit is contained in:
Julie
2014-02-06 11:29:24 -08:00
committed by Igor Minar
parent ad275b2265
commit e645f7cae1
5 changed files with 49 additions and 8 deletions

View File

@@ -92,6 +92,7 @@ module.exports = function(grunt) {
protractor: {
normal: 'protractor-conf.js',
jquery: 'protractor-jquery-conf.js',
jenkins: 'protractor-jenkins-conf.js'
},
@@ -292,6 +293,7 @@ module.exports = function(grunt) {
grunt.registerTask('test:docs', 'Run the doc-page tests with Karma', ['package', 'tests:docs']);
grunt.registerTask('test:unit', 'Run unit, jQuery and Karma module tests with Karma', ['tests:jqlite', 'tests:jquery', 'tests:modules']);
grunt.registerTask('test:protractor', 'Run the end to end tests with Protractor and keep a test server running in the background', ['webdriver', 'connect:testserver', 'protractor:normal']);
grunt.registerTask('test:jq-protractor', 'Run the end to end tests against jquery with Protractor and keep a test server running in the background', ['webdriver', 'connect:testserver', 'protractor:jquery']);
grunt.registerTask('test:ci-protractor', 'Run the end to end tests with Protractor and keep a test server running in the background', ['webdriver', 'connect:testserver', 'protractor:jenkins']);
grunt.registerTask('test:e2e', 'Alias for test:protractor', ['test:protractor']);
grunt.registerTask('test:docgen', ['jasmine_node']);