31 lines
484 B
YAML
31 lines
484 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
|
|
- 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
|
|
- codecov |