Skip to content

Commit

Permalink
Fixing TravisCI final version hope so
Browse files Browse the repository at this point in the history
  • Loading branch information
CerealKiller97 committed Aug 29, 2019
1 parent 869fa1a commit 886d32d
Showing 1 changed file with 11 additions and 24 deletions.
35 changes: 11 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
language: node_js
node_js:
- '11.0'

branches:
- "11"
dist: trusty
sudo: requiredbranches:
only:
- master

addons:
chrome: stable

before_script:
- yarn global add @angular/cli

cache:
yarn: true
directories:
- node_modules

script:
- ng build --prod

deploy:
- masterbefore_script:
- npm install -g @angular/cliscript:
- ng lint
- npm run test-headless
- ng build --prod --base-href https://cerealkiller97.github.io/NG-VideoGamer:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
local-dir: ./dist/video-gamer
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: dist/video-gamer
on:
branch: master

0 comments on commit 886d32d

Please sign in to comment.