-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
41 lines (36 loc) · 1.01 KB
/
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
41
machine:
services:
- docker
node:
# Necessary for using the ES6 features of some of our scripts
version: 6.4
environment:
MOCHA_REPORTER: mocha-circleci-reporter
TZ: America/New_York
dependencies:
cache_directories:
- '~/cache'
- '~/heroku'
- node_modules
- core-lib/node_modules
- mist-api/node_modules
- mist-api/src/docs/node_modules
- mist-lib/node_modules
- mist-pipeline/node_modules
- mist-pipeline/vendor
- seqdepot-lib/node_modules
# Temporarily remove existing node_modules from the cache
# pre:
# - rm -rf '~/cache' '~/heroku' node_modules {core-lib,mist-api,mist-lib,mist-pipeline,seqdepot-lib}/node_modules mist-api/src/docs/node_modules
override:
- bin/circleci/dependencies.sh
test:
override:
- bin/circleci/util/run-tests.sh $(cat ./build-targets.txt)
post:
- bin/circleci/test.post.sh
deployment:
boom:
branch: develop
commands:
- bin/circleci/util/deploy-to-heroku.sh develop $(cat ./build-targets.txt)