-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
39 lines (36 loc) · 955 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: v0.12.7
python:
version: 2.7.6
dependencies:
cache_directories:
- client/node_modules
post:
- npm install -g gulp bower
- npm prune && npm install:
pwd: client
- bower install:
pwd: client
test:
override:
- nosetests --with-coverage --cover-html --cover-package=app --cover-inclusive --cover-html-dir=$CIRCLE_ARTIFACTS/cover
- gulp ci:
pwd: client
post:
- sed -i -e "\$a/android/" .gitignore
- sed -i -e "\$a/client/" .gitignore
- sed -i -e "\$a/environments/" .gitignore
- sed -i -e "\$a/wordpress/" .gitignore
- sed -i -e 's/static\///' app/.gitignore
- rm -rf .git
- git init
- git config user.name "circleci"
- git config user.email "[email protected]"
- git add -A
- git commit -m "build"
deployment:
staging:
branch: master
commands:
- git push -f [email protected]:runbebersrun.git master