-
Notifications
You must be signed in to change notification settings - Fork 539
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #868 from oss-gate/survey_ci
use CircleCI for checking answers of survey
- Loading branch information
Showing
3 changed files
with
47 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Ruby CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-ruby/ for more details | ||
# | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# specify the version you desire here | ||
- image: circleci/ruby:2.5.1-browsers | ||
environment: | ||
TZ: /usr/share/zoneinfo/Asia/Tokyo | ||
|
||
# Specify service dependencies here if necessary | ||
# CircleCI maintains a library of pre-built images | ||
# documented at https://circleci.com/docs/2.0/circleci-images/ | ||
# - image: circleci/postgres:9.4 | ||
|
||
working_directory: ~/repo | ||
|
||
steps: | ||
- checkout | ||
|
||
# run tests! | ||
- run: | ||
name: run tests | ||
command: | | ||
./tutorial/retrospectives/test.sh |
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,15 @@ | ||
#!/bin/sh | ||
today=`date +%Y-%m-%d` | ||
result=0 | ||
cd tutorial/retrospectives | ||
for workshop in `find . -type d -name "${today}*"`; do | ||
for type in beginner supporter developer; do | ||
if [ -f ${workshop}/${type}.yaml ]; then | ||
./aggregate.rb ${workshop} ${type} >/dev/null | ||
if [ ! $? = '0' ]; then | ||
result=1 | ||
fi | ||
fi | ||
done | ||
done | ||
exit ${result} |