forked from mantrajs/meteor-mantra-kickstarter
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcircle.yml
45 lines (35 loc) · 924 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
41
42
43
44
45
# This is the configuration file for continuous deployment of
# your project in CircleCi.
general:
branches:
only:
- AsSub
notify:
webhooks:
- url: https://webhooks.gitter.im/e/8cde05a4fd00381fde46
machine:
environment:
_JAVA_OPTIONS: "-Xms512m -Xmx1024m"
METEOR_HOME: ${HOME}/.meteor
METEOR_CMD: ${HOME}/.meteor/meteor
CHIMP_PATH: ./node_modules/.bin/
CHIMP_CMD: ./node_modules/.bin/chimp
node:
version: 8.5.0
dependencies:
cache_directories:
- /home/ubuntu/.meteor # absolute only!
- /opt/circleci/nodejs/v8.5.0/lib/node_modules
pre:
- .scripts/initialize_server.sh
override:
- ./install_all.sh
post:
- date > ${CIRCLE_ARTIFACTS}/meteor.log
- .scripts/startInProdMode.sh :
background: true
test:
pre:
- node --version; npm --version; java -version; ${METEOR_CMD} --version;
post:
- .scripts/startAcceptanceTest.sh