Add npm release and fix travis build

Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
This commit is contained in:
Jeffrey Morgan 2015-11-24 13:26:02 -05:00
parent c365db437b
commit 11c5c223ef
2 changed files with 3 additions and 2 deletions

View File

@ -15,8 +15,8 @@ script:
after_script: after_script:
- echo $MAC_KEY_CONTENT > mac_key_content.hex && xxd -p -r mac_key_content.hex ~/Library/Keychains/keychain.keychain && rm mac_key_content.hex - echo $MAC_KEY_CONTENT > mac_key_content.hex && xxd -p -r mac_key_content.hex ~/Library/Keychains/keychain.keychain && rm mac_key_content.hex
- security unlock-keychain -p "$KEY_SECRET" ~/Library/Keychains/keychain.keychain - security unlock-keychain -p "$MAC_KEY_SECRET" ~/Library/Keychains/keychain.keychain
- grunt release - npm run release
os: os:
- osx - osx

View File

@ -14,6 +14,7 @@
"start": "grunt", "start": "grunt",
"test": "jest -c jest-unit.json", "test": "jest -c jest-unit.json",
"integration": "jest -c jest-integration.json", "integration": "jest -c jest-integration.json",
"release": "grunt release",
"lint": "jsxhint src" "lint": "jsxhint src"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",