Skip to content

Commit

Permalink
Configuring TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
CerealKiller97 committed Aug 8, 2019
1 parent ac7b106 commit 441e076
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: node_js
node_js:
- "10"
dist: trusty
sudo: requiredbranches:
only:
- masterbefore_script:
- npm install -g @angular/cliscript:
- ng lint
- npm run test-headless
- ng build --prod --build-optimizer --base-href https://cerealkiller97.github.io/NG-VideoGamer:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: dist/travis-demo
on:
branch: master
6 changes: 6 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ module.exports = function (config) {
reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true
},
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
Expand Down

0 comments on commit 441e076

Please sign in to comment.