Skip to content

Commit

Permalink
fix(tavis): fix travis next stage and unpublish ngx-bootstrap-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Domainv committed Mar 20, 2019
1 parent de2300c commit 02280ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,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 @@ -134,7 +134,7 @@ jobs:
before_script:
- mkdir -p $LOGS_DIR
after_script:
- cd node_modules/ngx-bootstrap-ci
- cd node_modules/ngx-bootstrap
- npm config set '//registry.npmjs.org/:_authToken' $NPM_AUTH_TOKEN_CI
- npm unpublish --tag $TRAVIS_COMMIT --force

Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/npm-ng-next.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ npm i @angular/animations@next \
@angular/router@next \
@angular/service-worker@next \
@schematics/angular@next \
typescript@3.2.2 \
typescript@3.3.3333 \
tsickle@0.34.0 \
rxjs@6.4.0

0 comments on commit 02280ee

Please sign in to comment.