Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tavis): fix travis next stage and unpublish ngx-bootstrap-ci #5115

Merged
merged 1 commit into from
Mar 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 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 @@ -82,7 +82,6 @@ jobs:
- npm ci
- npm run build
- npm run ci:update-pkg
- if [[ "$TRAVIS_PULL_REQUEST" != false ]]; then export NPM_AUTH_TOKEN_CI=$NPM_AUTH_TOKEN_CI_PR; fi
- npm config set '//registry.npmjs.org/:_authToken' $NPM_AUTH_TOKEN_CI
- cd dist
- npm publish --tag $TRAVIS_COMMIT
Expand Down Expand Up @@ -134,7 +133,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