mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 22:55:35 +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",
|
"jasmine-core": "^2.3.4",
|
||||||
"json-concat": "0.0.0",
|
"json-concat": "0.0.0",
|
||||||
"karma": "^0.12.36",
|
"karma": "^0.12.36",
|
||||||
"karma-chrome-launcher": "^0.1.12",
|
|
||||||
"karma-jasmine": "^0.3.5",
|
"karma-jasmine": "^0.3.5",
|
||||||
|
"karma-mocha-reporter": "^1.0.2",
|
||||||
|
"karma-phantomjs-launcher": "^0.2.0",
|
||||||
"main-bower-files": "^2.6.2",
|
"main-bower-files": "^2.6.2",
|
||||||
|
"phantomjs": "^1.9.17",
|
||||||
"run-sequence": "^1.0.2",
|
"run-sequence": "^1.0.2",
|
||||||
"uglify-js": "^2.4.19"
|
"uglify-js": "^2.4.19"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,21 +14,13 @@ module.exports = function(config) {
|
|||||||
'../build/app*.js',
|
'../build/app*.js',
|
||||||
'tests/**/*.js'
|
'tests/**/*.js'
|
||||||
],
|
],
|
||||||
// list of files to exclude
|
reporters: ['mocha'],
|
||||||
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'],
|
|
||||||
port: 9876,
|
port: 9876,
|
||||||
colors: true,
|
colors: true,
|
||||||
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
||||||
logLevel: config.LOG_INFO,
|
logLevel: config.LOG_INFO,
|
||||||
autoWatch: false,
|
autoWatch: false,
|
||||||
browsers: ['Chrome'],
|
browsers: ['PhantomJS'],
|
||||||
singleRun: false
|
singleRun: false
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user