-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcircle.yml
51 lines (40 loc) · 1.12 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
42
43
44
45
46
47
48
49
50
51
# This is the configuration file for continuous deployment of
# your project in CircleCi.
general:
branches:
only:
- AsSubmodule
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
checkout:
post:
- git submodule sync --recursive
- git submodule update --recursive --init
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;
- export IDX=10; while printf "."; ! httping -qc1 http://localhost:3000 && ((IDX-- > 0)); do sleep 5 ; done;
post:
- .scripts/startAcceptanceTest.sh