iopa-udp
Version:
API-First User Datagram Protocol (UDP) stack for Internet of Things (IoT), based on Internet of Protocols Alliance (IOPA) specification
38 lines (28 loc) • 1.23 kB
YAML
# best deployed using shippableimages/ubuntu1404_nodejs
language: node_js
node_js:
- 4.0
notifications:
email:
on_success: change
on_failure: always
env:
global:
- secure: x7HiAOHahpAPzowcSLSLY4cW/8NEIBgs+H/Zn7MoSTAbf5A9pfxcAcYaS81VOmATj0EwNaQ6B6lzFqls+0NimwH+kueLHQOZ4wYVpSkRKbZxngy2dspy5YCa6rszSuDIPKxCddJZ/dnbo0XWlhYXEpdJRpg6eUSbjd7UrYrmr/eHKQEuO71ZPuNAhIcKcJ5gDWwhTMX9sG71n6hcGcCT0s/VGW0ck7DJLDkL4jqyVr91igtWFHF64nx/iwSOExon8G+4gADEE+AH3WzGL7CY0qXzfuDh5ocyJvByUiFQvj8YCK1cZ8jGOWXeofZdhVwM3yM20pG9oX4JFvB+2mzDww==
before_install:
- source ~/.nvm/nvm.sh && nvm install $SHIPPABLE_NODE_VERSION
- node --version
install:
- npm install
script:
- MOCHA_FILE=shippable/testresults/mocha.xml node ./node_modules/.bin/mocha --reporter mocha-junit-reporter test
after_success:
- git config user.email "robot@shippable.com"
- git config user.name "Shippable"
- git config --global push.default matching
- git checkout $BRANCH
- echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" >> ~/.npmrc
- npm version patch --message "auto-publish %s via SHIPPABLE [ci skip] [skip ci]"
- git remote set-url origin ssh://git@github.com/$REPO_NAME
- git push
- npm publish