From 886d32d99026d2f2dcd7d7066436285064df9a29 Mon Sep 17 00:00:00 2001 From: CerealKiller97 Date: Thu, 29 Aug 2019 23:54:07 +0200 Subject: [PATCH] Fixing TravisCI final version hope so --- .travis.yml | 35 +++++++++++------------------------ 1 file changed, 11 insertions(+), 24 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1ba3623..b0d7f99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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