diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b8ef148 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: node_js +cache: + directories: + - node_modules +notifications: + email: false +node_js: + - '6' +before_script: + - npm prune +after_success: + - npm run semantic-release +branches: + except: + - /^v\d+\.\d+\.\d+$/ diff --git a/package.json b/package.json index 6b1263c..650cf48 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,15 @@ { "name": "carbon-themes", - "version": "0.0.1", - "description": "A collectino of thetmes for use with Carbon Components", + "version": "0.0.0-development", + "description": "A collection of thetmes for use with Carbon Components", "main": "index.js", "repository": "git@github.com:carbon-design-system/carbon-themes.git", "author": "chrisdhanaraj ", - "license": "Apache 2.0" + "license": "Apache 2.0", + "scripts": { + "semantic-release": "semantic-release pre && npm publish && semantic-release post" + }, + "devDependencies": { + "semantic-release": "^6.3.2" + } }