forked from labzero/adpq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
34 lines (34 loc) · 901 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
machine:
pre:
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
services:
- docker
dependencies:
pre:
- script/ci/prepare.sh
post:
- if [[ ! -e sassc ]]; then git clone [email protected]:sass/sassc.git sassc; fi
- if [[ ! -e libsass ]]; then git clone --recursive [email protected]:sass/libsass.git && cd sassc && export SASS_LIBSASS_PATH=$(readlink -f ../libsass) && make && cd ..; fi
- ln -s sassc/bin/sassc ~/bin/sassc
cache_directories:
- ~/dependencies
- ~/.mix
- _build
- deps
- node_modules
database:
override:
- createuser -d adpq
test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/test
- script/ci/tests.sh
deployment:
develop:
branch: develop
commands:
- script/ci/deploy-develop.sh
production:
branch: master
commands:
- script/ci/deploy-prod.sh