Skip to content

Commit

Permalink
chore(travis): setup travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aaustin authored and amit-bansil committed Aug 3, 2016
1 parent 7178bd5 commit 601ca99
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 6 deletions.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '4'
- iojs-v3
- iojs-v2
- iojs-v1
- '0.12'
- '0.10'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- export $(cat .to_export_back) &> /dev/null
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"version": "2.1.10",
"name": "branch-cordova-sdk",
"description": "Branch Metrics Cordova SDK",
"main": "www/branch.js",
"homepage": "https://github.com/BranchMetrics/Cordova-Ionic-PhoneGap-Deferred-Deep-Linking-SDK",
"homepage": "https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking",
"repository": {
"type": "git",
"url": "https://github.com/BranchMetrics/Cordova-Ionic-PhoneGap-Deferred-Deep-Linking-SDK.git"
"url": "https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking.git"
},
"bugs": {
"url": "https://github.com/BranchMetrics/Cordova-Ionic-PhoneGap-Deferred-Deep-Linking-SDK/issues"
"url": "https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking/issues"
},
"keywords": [
"ecosystem:cordova",
Expand All @@ -31,7 +30,8 @@
],
"license": "MIT",
"scripts": {
"commit": "git-cz"
"commit": "git-cz",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"dependencies": {
"mkpath": "^1.0.0",
Expand All @@ -56,7 +56,8 @@
"node-version-compare": "^1.0.1",
"plist": "^1.2.0",
"rimraf": "^2.5.2",
"xml2js": "^0.4.16"
"xml2js": "^0.4.16",
"semantic-release": "^4.3.5"
},
"config": {
"commitizen": {
Expand Down

0 comments on commit 601ca99

Please sign in to comment.