api-client/.travis.yml

35 lines
697 B
YAML
Raw Normal View History

2020-02-28 05:07:54 +00:00
# == INSTRUCTIONS FOR SETTING UP TRAVIS ==
#
# 1. Find this repository in your Travis-CI dashboard.
# open settings and add an environment variable called
# GITHUB_ACCESS_TOKEN and set it to your personal access token.addons:
# See: https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line
#
# **DO NOT TURN ON 'Display value in build log'!!!!**
#
# 2. Push the code to the repository.
2019-08-21 13:18:20 +00:00
language: node_js
node_js:
2020-02-28 05:07:54 +00:00
- lts/*
2020-01-25 01:30:07 +00:00
os: linux
2020-02-28 05:07:54 +00:00
cache: npm
branches:
2020-01-25 01:30:07 +00:00
only:
2020-02-28 05:07:54 +00:00
- master
install:
2020-02-28 05:07:54 +00:00
- npm ci
2019-10-03 09:58:45 +00:00
2019-10-04 00:47:41 +00:00
before_script:
2020-02-28 05:07:54 +00:00
- npm run build # use nuxt build and start to run tests
2019-10-04 00:47:41 +00:00
2019-10-03 09:58:45 +00:00
script:
2020-02-28 05:07:54 +00:00
- npm test
2019-08-21 13:18:20 +00:00
notifications:
webhooks: https://www.travisbuddy.com