mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
Use Travis CI instead of Codeship
This commit is contained in:
12
.travis.yml
Normal file
12
.travis.yml
Normal 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
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user