fox-send/circle.yml

34 lines
712 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
2017-07-11 19:49:24 +00:00
- redis
2017-07-17 16:39:51 +00:00
dependencies:
pre:
- npm i -g get-firefox
- get-firefox --platform linux --extract --target /home/ubuntu/send
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-07-06 17:10:32 +00:00
- docker build -t mozilla/send:latest .
- docker push mozilla/send:latest
tags:
2017-06-24 01:54:59 +00:00
tag: /.*/
owner: mozilla
commands:
2017-06-24 00:55:39 +00:00
- npm run predocker
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
2017-07-06 17:10:32 +00:00
- docker build -t mozilla/send:$CIRCLE_TAG .
- docker push mozilla/send:$CIRCLE_TAG
test:
override:
- npm run lint
- npm test