Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Use trusty dist with Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
rpaschoal committed Sep 2, 2019
1 parent 134d739 commit ecbca8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
dist: xenial
services:
- xvfb
dist: trusty
language: node_js
node_js:
- "10"
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
#- sh -e /etc/init.d/xvfb start
- sh -e /etc/init.d/xvfb start
before_script:
- npm install
- cd src
Expand Down
10 changes: 0 additions & 10 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,10 @@ module.exports = function (config) {
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
customLaunchers: {
Chrome_travis_ci: {
base: 'Chrome',
flags: ['--no-sandbox']
}
},
singleRun: false,
mime: { 'text/x-typescript': ['ts','tsx'] },
client: { captureConsole: true }
};

if(process.env.TRAVIS){
configuration.browsers = ['Chrome_travis_ci'];
}

config.set(configuration);
};

0 comments on commit ecbca8a

Please sign in to comment.