forked from warehouseman/meteor-mantra-kickstarter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
48 lines (39 loc) · 1.24 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
# This is the configuration file for continuous deployment of
# your project in CircleCi.
general:
branches:
only:
- trunk
notify:
webhooks:
- url: https://webhooks.gitter.im/e/8cde05a4fd00381fde46
machine:
environment:
_JAVA_OPTIONS: "-Xms512m -Xmx1024m"
METEOR_CMD: ${HOME}/.meteor/meteor
CHIMP_PATH: ./node_modules/.bin/
CHIMP_CMD: ./node_modules/.bin/chimp
node:
version: 4.4.7
dependencies:
cache_directories:
- ~/.meteor
- /opt/circleci/nodejs/v4.4.7/lib/node_modules
pre:
- mkdir -p ~/.meteor
- if [ ! -e ${METEOR_CMD} ]; then curl https://install.meteor.com | /bin/sh 2>&1 | cat; fi
- ls -l /opt/circleci/nodejs/v4.4.7/lib/node_modules
- .e2e_tests/installChimp.sh
override:
- cp settings.json.example settings.json
- source .pkgs/install_local_packages.sh; install_local_packages;
- ${METEOR_CMD} npm install
post:
- date > ${CIRCLE_ARTIFACTS}/meteor.log
- ${METEOR_CMD} --settings=settings.json >> ${CIRCLE_ARTIFACTS}/meteor.log 2>&1 & :
background: true
test:
post:
- node --version; npm --version; java -version; ${METEOR_CMD} --version;
- sleep 4m
- ${CHIMP_CMD} .e2e_tests/chimp-config.js --ddp=http://localhost:3000 --path=.e2e_tests