-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#docker : build docker cli-publisher and update travis script
- Loading branch information
thomrick
committed
Jan 24, 2018
1 parent
210e175
commit 5abd68d
Showing
6 changed files
with
22 additions
and
41 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 +1 @@ | ||
registry=https://registry.npmjs.org/ | ||
registry=https://registry.npmjs.org/ |
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,18 +1,19 @@ | ||
language: node_js | ||
node_js: | ||
- "8" | ||
sudo: required | ||
dist: trusty | ||
group: deprecated-2017Q4 | ||
services: | ||
- docker | ||
|
||
jobs: | ||
include: | ||
- stage: test | ||
script: npm test -s | ||
- stage: build | ||
script: npm run -s build | ||
before_install: | ||
- sudo apt-get update | ||
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce | ||
|
||
script: docker build -t nestjs/cli-publisher --build-arg NPM_TOKEN=$NPM_TOKEN . | ||
|
||
deploy: | ||
skip_cleanup: true | ||
provider: npm | ||
email: $NPM_USER_MAIL | ||
api_key: $NPM_API_TOKEN | ||
provider: script | ||
script: docker run nestjs/cli-publisher | ||
on: | ||
branch: master | ||
tags: true |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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