domsPlace/.travis.yml

31 lines
377 B
YAML

language: node_js
node_js:
- "10.16.3"
cache:
yarn: true
directories:
- node_modules
matrix:
include:
- env: PROJECT=src/private/
install:
- cd $PROJECT
- yarn global add serverless
- yarn install
script:
- cd $PROJECT
- yarn test
- yarn build
deploy:
provider: script
script:
- yarn deploy
skip_cleanup: true
#on:
# branch: master