Use Travis CI instead of Codeship

This commit is contained in:
Colin McLeod
2015-06-15 17:32:18 -07:00
parent 94e2b60cd1
commit ce3818f99a
3 changed files with 17 additions and 11 deletions

12
.travis.yml Normal file
View File

@@ -0,0 +1,12 @@
language: node_js
node_js:
- "0.12"
before_script:
- npm install -g gulp
- npm install -g bower
- npm install
- bower install
script:
- gulp lint
- gulp build-prod
- gulp test

View File

@@ -32,9 +32,11 @@
"jasmine-core": "^2.3.4",
"json-concat": "0.0.0",
"karma": "^0.12.36",
"karma-chrome-launcher": "^0.1.12",
"karma-jasmine": "^0.3.5",
"karma-mocha-reporter": "^1.0.2",
"karma-phantomjs-launcher": "^0.2.0",
"main-bower-files": "^2.6.2",
"phantomjs": "^1.9.17",
"run-sequence": "^1.0.2",
"uglify-js": "^2.4.19"
}

View File

@@ -14,21 +14,13 @@ module.exports = function(config) {
'../build/app*.js',
'tests/**/*.js'
],
// list of files to exclude
exclude: [],
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {},
// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['progress'],
reporters: ['mocha'],
port: 9876,
colors: true,
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,
autoWatch: false,
browsers: ['Chrome'],
browsers: ['PhantomJS'],
singleRun: false
});
};