-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcircle.yml
More file actions
38 lines (33 loc) · 890 Bytes
/
circle.yml
File metadata and controls
38 lines (33 loc) · 890 Bytes
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
machine:
# pre:
# - mkdir ~/.yarn-cache
node:
version: v4.7.0
# circleci
dependencies:
override:
- ./scripts/misc/installPackageManager && npm install
pre:
- sudo apt-get install libpoppler-cpp-dev
cache_directories:
- "nginx"
# - ~/.yarn-cache
test:
override:
- npm test
deployment:
prod:
branch: master
commands:
# the pushTo script contains a safety check; it won't actually do
# anything if CircleCI is running on master of any fork other than the
# main realtymaps repo. It also sets some environment variables
- ./scripts/misc/pushTo heroku realtymaps-map --dbsync:
timeout: 600
- ./scripts/misc/pushTo github realtymapsDev/map:
timeout: 300
staging:
branch: /dev\/.*\/.*/
commands:
- ./scripts/misc/pushTo heroku realtymaps-map --dbsync:
timeout: 600