diff --git a/.travis.yml b/.travis.yml index 19f1ad2a1..125bc398f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,6 @@ cache: yarn jobs: include: - stage: Test - env: TEST_ENV=source - script: yarn test - - env: TEST_ENV=umd - before_script: yarn build script: yarn test - stage: Size before_script: yarn build diff --git a/karma.conf.js b/karma.conf.js index a59c4ae11..121cacd6b 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -62,16 +62,6 @@ module.exports = function(config) { // }, }; - var historyAlias; - switch (process.env.TEST_ENV) { - case 'umd': - historyAlias = 'umd/history.js'; - break; - case 'source': - default: - historyAlias = 'modules/index.js'; - } - config.set({ customLaunchers: customLaunchers, browsers: ['Chrome' /*, 'Firefox'*/], @@ -94,7 +84,7 @@ module.exports = function(config) { }, resolve: { alias: { - history$: path.resolve(__dirname, historyAlias) + history$: path.resolve(__dirname, 'modules/index.js') } }, plugins: [