diff --git a/.travis.yml b/.travis.yml index c12a7ca..f9c5af9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: node_js node_js: - - 8.11.2 - - '9' + - lts/* + - node before_install: - |- if [ $TRAVIS_PULL_REQUEST == false ] && [ $TRAVIS_BRANCH == "master" ]; @@ -28,8 +28,16 @@ cache: - ~/.npm notifications: email: false -after_success: - - npm run travis-deploy-once "npm run semantic-release" branches: except: - /^v\d+\.\d+\.\d+$/ +jobs: + include: + - stage: release + node_js: lts/* + script: skip + deploy: + provider: script + skip_cleanup: true + script: + - npm run semantic-release diff --git a/README.md b/README.md index c0458eb..741cfba 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,11 @@ +[![Greenkeeper badge](https://badges.greenkeeper.io/LabShare/ngx-forms.svg?token=4a12f6b1da0f082ac1bbf2c72bbcaf01b001705746c61c36eee1db6bda3d7c11&ts=1528346534395)](https://greenkeeper.io/) +[![Coverage Status](https://coveralls.io/repos/github/LabShare/ngx-forms/badge.svg?t=K1oUbj)](https://coveralls.io/github/LabShare/ngx-forms) +[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) + + # ngx-forms -[![Greenkeeper badge](https://badges.greenkeeper.io/LabShare/ngx-forms.svg?token=4a12f6b1da0f082ac1bbf2c72bbcaf01b001705746c61c36eee1db6bda3d7c11&ts=1528346534395)](https://greenkeeper.io/) Dynamic form generator. This module provides components that wrap angular 2+ FormBuilder styled with Bootstrap CSS 4 -[![Coverage Status](https://coveralls.io/repos/github/LabShare/ngx-forms/badge.svg?t=K1oUbj)](https://coveralls.io/github/LabShare/ngx-forms) ![Alt text](/imgs/readmess.png?raw=true "Optional Title") ## Requirements @@ -71,3 +74,4 @@ Field example { "type": "checkbox", "label":"Identify all that apply", "name": "checkId", "hidden": true, "options": [{"value": "NIH Grant"}, {"value": "NIH Intramural"}]} ``` So when users select radio button `Yes`, it will look for the field with name `checkID` and show the checkbox. When `No` is selected, the checkbox will hide because there is no value in `ref`. + diff --git a/package.json b/package.json index 408e55a..884d13b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "test": "karma start ./test/karma.conf.js", "coverage": "karma start ./test/karma.conf.js --singleRun=true", "commitmsg": "commitlint -e $GIT_PARAMS", - "travis-deploy-once": "travis-deploy-once --pro", "semantic-release": "semantic-release" }, "dependencies": { @@ -63,7 +62,6 @@ "node-sass": "^4.9.0", "null-loader": "^0.1.1", "semantic-release": "^15.5.0", - "travis-deploy-once": "^5.0.0", "ts-loader": "^4.3.0", "tslint-angular": "^1.1.0", "style-loader": "^0.21.0", @@ -73,7 +71,8 @@ "typescript": "^2.7.2", "webpack": "4.10.1", "webpack-cli": "^2.1.3", - "webpack-node-externals": "^1.7.2" + "webpack-node-externals": "^1.7.2", + "@labshare/semantic-release-config": "^1.0.0" }, "publishConfig": { "access": "restricted"