30 lines
558 B
YAML
30 lines
558 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 && bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION |