Skip to content

Commit

Permalink
add travis ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
quangkhoa committed Aug 17, 2017
1 parent 3072293 commit 1affb17
Show file tree
Hide file tree
Showing 9 changed files with 528 additions and 29 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
bin
gitlab.env.yml
.nyc_output
1 change: 0 additions & 1 deletion .nyc_output/559a71d6c33afd8eed4bf005aeaa3cc2.json

This file was deleted.

1 change: 0 additions & 1 deletion .nyc_output/6aa42bca34d5b301e4a28c2669257597.json

This file was deleted.

1 change: 0 additions & 1 deletion .nyc_output/7c8544d4acff7d9ca118aa1f76de892f.json

This file was deleted.

1 change: 0 additions & 1 deletion .nyc_output/8be1b4d7589c871cbf798aefd14b06e8.json

This file was deleted.

21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: node_js

node_js: ['6']

install:
- yarn install

script:
- yarn build
- yarn lint
- yarn test:coverage

before_deploy:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc

deploy:
provider: script
skip_cleanup: true
script: npm publish .
on:
tags: true
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Gitlab CI Variables Bulk Setter
=========
# Gitlab CI Variables Bulk Setter

[![NPM](https://img.shields.io/npm/v/gitlab-ci-variables-setter-cli.svg)](https://npmjs.org/packages/gitlab-ci-variables-setter-cli/)
[![Travis CI](https://img.shields.io/travis/quangkhoa/gitlab-ci-variables-cli.svg)](https://travis-ci.org/quangkhoa/gitlab-ci-variables-cli)
[![MIT License](https://img.shields.io/github/license/quangkhoa/gitlab-ci-variables-cli.svg)](https://en.wikipedia.org/wiki/MIT_License)

CLI tool to allow setting multiple environment variables on Gitlab CI, instead of going through Gitlab UI and adding individual variables.

Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"name": "gitlab-ci-variables-setter-cli",
"version": "1.0.1",
"version": "1.0.2",
"description": "CLI tool to handle gitlab CI project variables",
"author": "Khoa Tran",
"license": "MIT",
"keywords": [
"gitlab",
"gitlab-ci"
],
"repository": {
"type": "git",
"url": "[email protected]:quangkhoa/gitlab-ci-variables-cli.git"
},
"bin": {
"setAllVars": "bin/setAllVariables.js"
},
Expand Down
Loading

0 comments on commit 1affb17

Please sign in to comment.