1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 21:22:35 +01:00
send/circle.yml

36 lines
775 B
YAML
Raw Normal View History

machine:
node:
2017-06-23 01:26:08 +02:00
version: 8
2017-06-23 00:19:18 +02:00
services:
- docker
2017-07-11 21:49:24 +02:00
- redis
2017-07-17 19:19:53 +02:00
environment:
PATH: "/home/ubuntu/send/firefox:$PATH"
2017-07-17 18:39:51 +02:00
dependencies:
pre:
2017-07-19 21:03:59 +02:00
- npm i -g get-firefox geckodriver nsp
2017-07-17 18:39:51 +02:00
- get-firefox --platform linux --extract --target /home/ubuntu/send
deployment:
latest:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
2017-07-06 19:10:32 +02:00
- docker build -t mozilla/send:latest .
- docker push mozilla/send:latest
tags:
2017-06-24 03:54:59 +02:00
tag: /.*/
owner: mozilla
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
2017-07-06 19:10:32 +02:00
- docker build -t mozilla/send:$CIRCLE_TAG .
- docker push mozilla/send:$CIRCLE_TAG
test:
override:
2017-08-16 06:47:34 +02:00
- npm run build
- npm run lint
- npm test
2017-07-19 21:03:59 +02:00
- nsp check