fox-send/circle.yml

27 lines
581 B
YAML
Raw Normal View History

machine:
node:
2017-06-22 23:26:08 +00:00
version: 8
2017-06-22 22:19:18 +00:00
services:
- docker
deployment:
latest:
branch: master
commands:
2017-06-24 00:55:39 +00:00
- npm run predocker
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
2017-06-22 22:34:43 +00:00
- docker build -t mozilla/fileshare:latest .
- docker push mozilla/fileshare:latest
tags:
tags: /.*/
commands:
2017-06-24 00:55:39 +00:00
- npm run predocker
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
2017-06-22 22:26:26 +00:00
- docker build -t mozilla/fileshare:$CIRCLE_TAG .
- docker push mozilla/fileshare:$CIRCLE_TAG
test:
override:
- npm run lint
- npm test