Fakultas Ilmu Komputer UI

Commit 033d9248 authored by M. Reza Qorib's avatar M. Reza Qorib
Browse files

[#140382397] #3 finally give up on chrome. Hope firefox works

parent 5abc9ccd
......@@ -2,12 +2,7 @@ test:
script:
- apt-get install -f
- apt-get update -qy
- apt-get install -y python-dev python-pip sudo postgresql postgresql-client libpq-dev libxss1 libappindicator1 libindicator7
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- apt-get update
- apt-get install -y google-chrome-stable
- export CHROME_BIN=/usr/bin/google-chrome
- apt-get install -y python-dev python-pip sudo postgresql postgresql-client libpq-dev libxss1 libappindicator1 libindicator7 firefox
- curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
- sudo apt-get install -y nodejs
- npm install
......
......@@ -3,13 +3,13 @@ webpackConfig.devtool = 'inline-source-map';
module.exports = function (config) {
config.set({
browsers: [ 'Chrome' ], //run in Chrome
browsers: [ 'Firefox' ], //run in Firefox
singleRun: true, //just run once by default
frameworks: [ 'mocha' ], //use the mocha test framework
files: [
'tests.webpack.js' //just load this file
],
plugins: [ 'karma-chrome-launcher', 'karma-mocha',
plugins: [ 'karma-firefox-launcher', 'karma-mocha',
'karma-sourcemap-loader', 'karma-webpack', 'karma-coverage'
],
preprocessors: {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment