-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcircle.yml
More file actions
33 lines (28 loc) · 853 Bytes
/
circle.yml
File metadata and controls
33 lines (28 loc) · 853 Bytes
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
experimental:
notify:
branches:
only:
- master # whitelisted branches
ignore:
- /*/ # disallow all non-whitelisted branches
general:
artifacts:
- 'coverage'
dependencies:
pre:
- sudo service mongodb stop
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.11.tgz
- tar -zxvf mongodb-linux-x86_64-2.6.11.tgz
- mkdir -p mongo_data
- mongodb-linux-x86_64-2.6.11/bin/mongod --dbpath ./mongo_data --fork --syslog
machine:
environment:
ENABLE_TTL_TESTS: false
deployment:
production:
branch: master
commands:
# Build the package
- bundle exec rake build:tag
# Bonus material
- curl -s http://api.icndb.com/jokes/random/ | python2 -c 'import sys, json; print "\n\n"+json.load(sys.stdin)["value"]["joke"]+"\n\n"' || echo "No jokes for you\!"