redux-bluetooth/.travis.yml

31 lines
520 B
YAML
Raw Permalink Normal View History

2017-07-11 12:53:20 +08:00
sudo: false
env:
- CXX=g++-4.8
2017-07-11 12:53:20 +08:00
language: node_js
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
2017-07-11 11:31:29 +08:00
script:
2017-07-13 12:30:39 +08:00
- npm run test:ci
2017-07-15 07:01:15 +08:00
- npm run test:bundlesize:ci
- npm run example:deploy:ci
2017-07-11 11:31:29 +08:00
branches:
only:
- master
cache:
directories:
2017-07-13 11:37:45 +08:00
- node_modules
- example/webapp/node_modules
2017-07-13 12:48:55 +08:00
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: example/webapp/build
on:
branch: master
2017-07-13 10:49:47 +08:00
after_success:
2017-07-13 21:42:51 +08:00
- npm run test:coverage:ci