forked from reactioncommerce/reaction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
39 lines (34 loc) · 961 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
machine:
node:
version: 7.4.0
services:
- docker
checkout:
post:
# This rm rf line removes the cached (incorrect) version of our .git that had old refs in it
- rm -rf `git rev-parse --show-toplevel`/.git/modules
- git submodule sync
- git submodule update --init --recursive
dependencies:
cache_directories:
- "~/.meteor"
override:
- if [[ -L ~/.meteor/meteor ]]; then ln -s ~/.meteor/meteor ~/bin/meteor; export PATH="$PATH:~/bin"; fi
- hash meteor 2>/dev/null || curl https://install.meteor.com | /bin/sh
- npm i -g reaction-cli
# - meteor npm install
test:
override:
# - reaction test
- .reaction/ci/build.sh
deployment:
prequel:
branch: development
commands:
- .reaction/ci/deploy-development.sh
release:
# will deploy based on tag format: ee-v1.2.3
tag: /ee-v[0-9]+(\.[0-9]+)*/
owner: evereveofficial
commands:
- .reaction/ci/deploy-production.sh