forked from awatson1978/deprecated-clinical-extended-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
52 lines (45 loc) · 1.96 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
52
# ## Customize the test machine
# machine:
# # Timezone
# timezone:
# America/Los_Angeles # Set the timezone
# # Add some environment variables
# environment:
# CIRCLE_ENV: test
# CXX: g++-4.8
# DISPLAY: :99.0
# NPM_PREFIX: /home/ubuntu/nvm/v0.10.33
# ## Customize dependencies
# dependencies:
# cache_directories:
# - ~/.meteor # relative to the user's home directory
# - ~/nvm/v0.10.33/lib/node_modules/starrynight
# - ~/nvm/v0.10.33/bin/starrynight
# pre:
# # Install Starrynight unless it is cached
# - if [ ! -e ~/nvm/v0.10.33/bin/starrynight ]; then npm install -g starrynight; else echo "Starrynight seems to be cached"; fi;
# # Install Meteor
# - mkdir -p ${HOME}/.meteor
# # If Meteor is already cached, do not need to build it again.
# - if [ ! -e ${HOME}/.meteor/meteor ]; then curl https://install.meteor.com | /bin/sh; else echo "Meteor seems to be cached"; fi;
# # Link the meteor executable into /usr/bin
# - sudo ln -s $HOME/.meteor/meteor /usr/bin/meteor
# # Check if the helloworld directory already exists, if it doesn't, create the helloworld app
# - if [ ! -e ${HOME}/helloworld ]; then meteor create --release [email protected] helloworld; else echo "helloworld app seems to be cached"; fi;
# override:
# - cd helloworld
# - cd helloworld && ls -la
# - cd helloworld/client && rm main.*
# - cd helloworld && meteor add anti:[email protected] session meteor-platform clinical:router clinical:router-default-config
# - cd helloworld && git clone http://github.com/clinical-meteor/extended-api packages/extended-api
# - cd helloworld && meteor add clinical:extended-api
# - cd helloworld && starrynight autoconfig
# - cd helloworld && meteor npm install
# ## Customize test commands
# test:
# pre:
# - cd helloworld && meteor:
# background: true
# - sleep 80
# override:
# - cd helloworld && starrynight run-tests --type package-verification