redux-bluetooth/.travis.yml

30 lines
545 B
YAML

sudo: false
env:
- CXX=g++-4.8
language: node_js
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
script:
- npm run test:ci
- npm run example:ci
branches:
only:
- master
cache:
directories:
- node_modules
- example/webapp/node_modules
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: example/webapp/build
on:
branch: master
after_success:
- npm run test:coverage && bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION