forked from mozilla/redash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
40 lines (40 loc) · 783 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
machine:
services:
- docker
- redis
node:
version:
6.9.1
dependencies:
override:
- pip install --upgrade setuptools
- pip install -r requirements_dev.txt
- pip install -r requirements.txt
- npm install
- npm run build
cache_directories:
- node_modules/
test:
override:
- pytest --junitxml=$CIRCLE_TEST_REPORTS/junit.xml tests/
deployment:
master:
branch: master
owner: mozilla
commands:
- ./bin/deploy "master"
release:
branch: release
owner: mozilla
commands:
- ./bin/deploy "rc"
milestone:
tag: /^m[0-9]+(\.[0-9]+)?$/
owner: mozilla
commands:
- ./bin/deploy "$CIRCLE_TAG"
- ./bin/alias "$CIRCLE_TAG" "latest"
general:
branches:
ignore:
- gh-pages