Skip to content

Commit

Permalink
fix(travis): fix travis on fork
Browse files Browse the repository at this point in the history
  • Loading branch information
Domainv committed Mar 19, 2019
1 parent bc4ba8c commit 6d5972d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env:
- BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready
- LOGS_DIR=/tmp/logs
- CY_KEY=4aa7a1c0-3a4f-444e-b324-6fc305a543a8
- NPM_AUTH_TOKEN_CI_PR=810c9089-b5e8-4348-8c89-61a1c2461d68

# test cypress smoke
testSmokeCy: &testSmokeCy
Expand Down Expand Up @@ -53,7 +54,7 @@ install:
- npm run ci:rename-pkg
- if [[ "$NGV" == "latest" ]]; then ./scripts/ci/npm-ng-latest.sh; fi
- if [[ "$NGV" == "next" ]]; then ./scripts/ci/npm-ng-next.sh; fi
- if [[ "$TRAVIS_PULL_REQUEST" != false ]]; then export SAUCE_USERNAME=$SAUCE_USERNAME_PR; export SAUCE_ACCESS_KEY=$SAUCE_ACCESS_KEY_PR; fi
- if [[ "$TRAVIS_PULL_REQUEST" != false ]]; then export SAUCE_USERNAME=$SAUCE_USERNAME_PR; export SAUCE_ACCESS_KEY=$SAUCE_ACCESS_KEY_PR; export NPM_AUTH_TOKEN_CI=$NPM_AUTH_TOKEN_CI_PR; fi

jobs:
fast_finish: true
Expand Down Expand Up @@ -136,7 +137,7 @@ jobs:
- npm config set '//registry.npmjs.org/:_authToken' $NPM_AUTH_TOKEN_CI
- npm unpublish --tag $TRAVIS_COMMIT --force

# deploy to ngx-bootstrap.surge.sh
# deploy to ngx-bootstrap.surge.sh
- &surge
stage: deploy
script: npm run demo.build
Expand All @@ -159,7 +160,7 @@ jobs:
project: ./gh-pages/
domain: ngx-bootstrap-next.surge.sh
on: development
# deploy to ngx-universal.herokuapp.com/
# deploy to ngx-universal.herokuapp.com/
- stage: deploy
script: npm run build:dynamic
before_deploy:
Expand Down

0 comments on commit 6d5972d

Please sign in to comment.