From 19da14f3df151b9a0a4f0507aa13aec361027055 Mon Sep 17 00:00:00 2001 From: Fosco Marotto Date: Mon, 4 Apr 2016 12:35:10 -0700 Subject: [PATCH] Adds travis configuration to deploy NPM on new version tags --- .travis.yml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2e85f31ee0..f97ee3af3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,25 @@ branches: only: - - master + - master language: node_js node_js: - - "4.3" +- '4.3' env: - global: - - COVERAGE_OPTION='./node_modules/babel-istanbul/lib/cli.js cover -x **/spec/**' + global: + - COVERAGE_OPTION='./node_modules/babel-istanbul/lib/cli.js cover -x **/spec/**' matrix: - - MONGODB_VERSION=2.6.11 - - MONGODB_VERSION=3.0.8 + - MONGODB_VERSION=2.6.11 + - MONGODB_VERSION=3.0.8 cache: directories: - - $HOME/.mongodb/versions/downloads -after_success: ./node_modules/.bin/codecov + - "$HOME/.mongodb/versions/downloads" +after_success: "./node_modules/.bin/codecov" +deploy: + provider: npm + email: + secure: T3LwSJFcu632SDfCoavcKL39NktWLEOOFzonAjeHAglmMyDp9hvU8xHwQ4JJy2CRA03c+ezAe2gH3Va+jfxvh1JtFUan+p88vaCHHKuNwPSp4WZBPt1ZTDmG+ACG6j+ZWHK+eP7hLvtlCi/M9/v4/bVojpm7v01LLiM+MRhnE9E7eLemQC4zb6RVtf2oGQ3mX51kMeya218kEm5bsQPpRJElI9jwletFa8qYK5AFgaCHpll059RRHQTTE9MTNcN58P/Kf6Qb3KGpKNoaHTXoOD4U6LcXLWvdHONVB6AzGefxg2b/dvtaO4nd5lDooMBR3u9kWpopXkyAuf+fO/8je9JTxO6CDUtDjHRcR2mCEXWX6rculIAbNXOv1ccRYCTQ8aFtYnFlMSb1+QIAdyT6HHmeT5ktk3+XJRuEv0PJJvqHTo+j7tPngjiv5sPNutgGFlOFO90omTbzEkIT/D/LsgXbWm2QKYWejbLiuSINg+FiFiZN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