mirror of
https://github.com/youzan/vant.git
synced 2026-04-17 02:06:57 +08:00
travis use PhantomJS
This commit is contained in:
@@ -5,10 +5,11 @@ require('babel-core/register')({
|
||||
});
|
||||
|
||||
var webpackConfig = require('./get-webpack-conf');
|
||||
var travis = process.env.TRAVIS;
|
||||
|
||||
module.exports = function(config) {
|
||||
config.set({
|
||||
browsers: ['Chrome'],
|
||||
browsers: travis ? ['PhantomJS'] : ['Chrome'],
|
||||
frameworks: ['mocha', 'sinon-chai'],
|
||||
reporters: ['spec', 'coverage'],
|
||||
files: ['./index.js'],
|
||||
|
||||
Reference in New Issue
Block a user