2017-06-19 23:30:04 +02:00
|
|
|
machine:
|
|
|
|
node:
|
|
|
|
version: 8.0.0
|
2017-06-23 00:19:18 +02:00
|
|
|
services:
|
|
|
|
- docker
|
2017-06-19 23:30:04 +02:00
|
|
|
|
2017-06-21 00:48:36 +02:00
|
|
|
deployment:
|
|
|
|
latest:
|
|
|
|
branch: master
|
|
|
|
commands:
|
|
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
2017-06-23 00:34:43 +02:00
|
|
|
- docker build -t mozilla/fileshare:latest .
|
2017-06-22 21:56:07 +02:00
|
|
|
- docker push mozilla/fileshare:latest
|
|
|
|
tags:
|
|
|
|
tags: /.*/
|
|
|
|
commands:
|
|
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
2017-06-23 00:26:26 +02:00
|
|
|
- docker build -t mozilla/fileshare:$CIRCLE_TAG .
|
2017-06-22 21:56:07 +02:00
|
|
|
- docker push mozilla/fileshare:$CIRCLE_TAG
|
2017-06-20 21:18:14 +02:00
|
|
|
|
|
|
|
test:
|
|
|
|
override:
|
|
|
|
- npm run lint
|
|
|
|
- npm test
|