File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,26 @@ export MYSQL_PASSWORD=mysql
55export MYSQL_HOST=mysql
66export MYSQL_DATABASE=mysql
77
8+ # REPORTER_BIN="cc-test-reporter"
89
910echo " initalizing solr"
1011bundle exec rake solr:create_collection
1112bundle exec rake solr:update_config
1213bundle exec rake solr:create_alias
1314bundle exec rake solr:load_fixtures
1415
16+ # if [ ! -f ${REPORTER_BIN} ]; then
17+ # echo "Downloading Code Climate reporting tool"
18+ # if [[ $(uname) == *"Darwin"* ]]; then
19+ # wget -q https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-amd64 -O ${REPORTER_BIN}
20+ # else
21+ # wget -q https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 -O ${REPORTER_BIN}
22+ # fi
23+ # chmod 755 ${REPORTER_BIN}
24+ # fi
25+
26+ # ./${REPORTER_BIN} before-build
1527bundle exec rspec
1628RSPEC_EXIT_CODE=$?
17-
18- exit ${RSPEC_EXIT_CODE}
29+ # ./${REPORTER_BIN} after-build
30+ exit ${RSPEC_EXIT_CODE}
You can’t perform that action at this time.
0 commit comments