mirror of
https://github.com/fullstack-cash/wallet.fullstack.cash.git
synced 2026-09-21 16:52:05 -07:00
34 lines
706 B
YAML
34 lines
706 B
YAML
# This is a node.js v8+ JavaScript project
|
|
language: node_js
|
|
node_js:
|
|
- "10"
|
|
|
|
# Build on Ubuntu Trusty (14.04)
|
|
# https://docs.travis-ci.com/user/reference/trusty/#javascript-and-nodejs-images
|
|
dist: xenial
|
|
sudo: required
|
|
|
|
# Use Docker
|
|
services:
|
|
- docker
|
|
|
|
before_install:
|
|
#- npm install -g mocha
|
|
|
|
# https://github.com/greenkeeperio/greenkeeper-lockfile/issues/156
|
|
#install: case $TRAVIS_BRANCH in greenkeeper*) npm i;; *) npm ci;; esac;
|
|
install:
|
|
- npm install
|
|
|
|
script: "npm run test"
|
|
|
|
# Send coverage data to Coveralls
|
|
after_success:
|
|
- npm run coverage
|
|
|
|
deploy:
|
|
provider: script
|
|
skip_cleanup: true
|
|
script:
|
|
- npx semantic-release && ./deploy-production.sh
|