2017-11-09 18:16:40 -08:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
group: beta
|
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "8"
|
|
|
|
cache:
|
|
|
|
yarn: true
|
|
|
|
env:
|
2017-11-09 21:04:04 -08:00
|
|
|
- SOLIDITY_COVERAGE=false
|
2017-11-09 18:16:40 -08:00
|
|
|
- SOLIDITY_COVERAGE=true
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
allow_failures:
|
|
|
|
- env: SOLIDITY_COVERAGE=true
|
|
|
|
script:
|
|
|
|
- yarn test
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
local_dir: mochawesome-report
|
|
|
|
target_branch: gh-pages
|
|
|
|
email: travis@ci.com
|
|
|
|
name: Deployment Bot
|
|
|
|
skip_cleanup: true
|
|
|
|
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
|
|
|
|
on:
|
2017-11-09 21:04:04 -08:00
|
|
|
branch: master
|
|
|
|
condition: "$SOLIDITY_COVERAGE = false"
|