Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
#661 Joola running on its own
- Loading branch information
Showing
66 changed files
with
2,319 additions
and
1,393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,7 @@ benchmark | |
Procfile | ||
Vagrantfile | ||
Makefile | ||
|
||
joola-data.json | ||
|
||
data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,66 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- "0.10" | ||
#- "0.12" | ||
#- "iojs" | ||
|
||
- '0.10' | ||
services: | ||
- redis-server | ||
- rabbitmq | ||
- mongodb | ||
#- elasticsearch | ||
|
||
- elasticsearch | ||
addons: | ||
code_climate: | ||
repo_token: b0cf984d93693c3e827901f766ca1f13b6acca03a3786b5e187356e66e8ffbec | ||
|
||
env: | ||
JOOLA_CONFIG_AUTHENTICATION_BASICAUTH_ENABLED=TRUE | ||
|
||
env: JOOLA_CONFIG_AUTHENTICATION_BASICAUTH_ENABLED=TRUE | ||
branches: | ||
only: | ||
- master | ||
- develop | ||
|
||
- master | ||
- develop | ||
matrix: | ||
fast_finish: true | ||
#allow_failures: | ||
# - node_js: "0.12" | ||
# - node_js: "iojs" | ||
|
||
|
||
before_install: | ||
- wget http://apache.claz.org/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz | ||
- tar -zxvf zookeeper*tar.gz | ||
- zookeeper-3.4.6/bin/zkServer.sh start zookeeper-3.4.6/conf/zoo_sample.cfg | ||
|
||
before_script: | ||
- sudo rabbitmq-plugins enable rabbitmq_stomp | ||
- sudo service rabbitmq-server restart | ||
- sudo rabbitmqctl status | ||
- sudo rabbitmq-plugins list | ||
- redis-cli flushall | ||
|
||
deploy: | ||
provider: heroku | ||
on: develop | ||
app: joola-develop | ||
api_key: | ||
secure: u2sgcDddY6is6ZB1q1YsFQwlld0cvsSbfH6UtEVP7QvOeITriv2fauXnt+WTSzLqcLphzFPviUceMP9Qm4FcbKd1+qHHCAtpmZMTx7MXoFjJJXDVYwbL9iQURi5IS6lja8eLSJZk8yonDuWZ6f3babr/iW4o//CalslW5WDwHMs= | ||
- provider: heroku | ||
app: joola-develop | ||
on: | ||
branch: develop | ||
api_key: | ||
secure: u2sgcDddY6is6ZB1q1YsFQwlld0cvsSbfH6UtEVP7QvOeITriv2fauXnt+WTSzLqcLphzFPviUceMP9Qm4FcbKd1+qHHCAtpmZMTx7MXoFjJJXDVYwbL9iQURi5IS6lja8eLSJZk8yonDuWZ6f3babr/iW4o//CalslW5WDwHMs= | ||
|
||
script: npm run test:coverage | ||
- provider: heroku | ||
app: joola | ||
on: | ||
tags: true | ||
branch: master | ||
api_key: | ||
secure: u2sgcDddY6is6ZB1q1YsFQwlld0cvsSbfH6UtEVP7QvOeITriv2fauXnt+WTSzLqcLphzFPviUceMP9Qm4FcbKd1+qHHCAtpmZMTx7MXoFjJJXDVYwbL9iQURi5IS6lja8eLSJZk8yonDuWZ6f3babr/iW4o//CalslW5WDwHMs= | ||
|
||
- provider: npm | ||
email: info@joo.la | ||
api_key: | ||
secure: vHRhVNoacEpB9f10rfNP8S6vRO1P8PYQfMVmtXCjBD1gi+4kwXh1JuSqPJxiS0r+pYmNVg130Wo4ed5/VDcCvW8GoBOWvadw5UGILyJ7f09J/z+sNew0kzVGho07oip419ZWcN1cydQl4zwwSnxtYQMlWSQ6mhnzYqYCQ0tGL/s= | ||
on: | ||
tags: true | ||
branch: master | ||
script: npm run test:scenario | ||
after_success: | ||
- npm run test:scenario:coverage | ||
- node ./build/coverage/aggregate.js | ||
- npm run coveralls | ||
- npm run codeclimate | ||
- npm run test:api | ||
|
||
notifications: | ||
webhooks: | ||
urls: | ||
- https://webhooks.gitter.im/e/0a43ba3884562555a9c1 | ||
on_success: change # options: [always|never|change] default: always | ||
on_failure: always # options: [always|never|change] default: always | ||
on_start: true # default: false | ||
on_success: change | ||
on_failure: always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
var | ||
path = require('path'), | ||
fs = require('fs'), | ||
istanbul = require('istanbul'), | ||
collector = new istanbul.Collector(), | ||
reporter = new istanbul.Reporter(), | ||
sync = false; | ||
|
||
var files = fs.readdirSync(path.join(__dirname, '../../coverage')); | ||
files.forEach(function (f) { | ||
if (f.indexOf('scenario_') > -1) { | ||
var filename = path.join(__dirname, '../../coverage', f, 'coverage.json'); | ||
collector.add(JSON.parse(fs.readFileSync(filename, 'utf8'))); | ||
} | ||
}); | ||
|
||
reporter.add('text'); | ||
reporter.addAll(['lcov']); | ||
reporter.write(collector, sync, function () { | ||
console.log('All reports generated'); | ||
}); |
Empty file.
Oops, something went wrong.