mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-14 07:02:30 +01:00
29 lines
586 B
YAML
29 lines
586 B
YAML
machine:
|
|
node:
|
|
version: 8
|
|
services:
|
|
- docker
|
|
- redis
|
|
|
|
deployment:
|
|
latest:
|
|
branch: master
|
|
commands:
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
|
- docker build -t mozilla/send:latest .
|
|
- docker push mozilla/send:latest
|
|
tags:
|
|
tag: /.*/
|
|
owner: mozilla
|
|
commands:
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
|
- docker build -t mozilla/send:$CIRCLE_TAG .
|
|
- docker push mozilla/send:$CIRCLE_TAG
|
|
|
|
test:
|
|
override:
|
|
- npm run build
|
|
- npm run lint
|
|
- npm run test:ci
|
|
- nsp check
|