-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing TravisCI final version hope so
- Loading branch information
CerealKiller97
committed
Aug 29, 2019
1 parent
869fa1a
commit 886d32d
Showing
1 changed file
with
11 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |