Commit e068118

mo <mo.khan@gmail.com>
2018-02-26 01:09:22
merge status and timestamps.
1 parent 4343d46
Changed files (4)
bin/cibuild
@@ -7,8 +7,7 @@ set -e
 
 cd "$(dirname "$0")/.."
 
-echo "Started at…"
-date "+%H:%M:%S"
+echo $(date "+%H:%M:%S") "Started at…"
 
 # GC customizations
 export RUBY_GC_MALLOC_LIMIT=79000000
bin/lint
@@ -4,10 +4,8 @@ set -e
 
 [ -z "$DEBUG" ] || set -x
 
-echo "==> Running setup…"
-date "+%H:%M:%S"
+echo $(date "+%H:%M:%S") "==> Running setup…"
 bin/setup
 
-echo "==> Running linters…"
-date "+%H:%M:%S"
+echo $(date "+%H:%M:%S") "==> Running linters…"
 bundle exec rake rubocop
bin/setup
@@ -4,5 +4,3 @@ IFS=$'\n\t'
 set -vx
 
 bundle check || bundle install --jobs $(nproc)
-
-# Do any other automated setup that you need to do here
bin/test
@@ -10,10 +10,8 @@ cd "$(dirname "$0")/.."
 
 [ -z "$DEBUG" ] || set -x
 
-echo "==> Running setup…"
-date "+%H:%M:%S"
+echo $(date "+%H:%M:%S") "==> Running setup…"
 bin/setup
 
-echo "==> Running tests…"
-date "+%H:%M:%S"
+echo $(date "+%H:%M:%S") "==> Running tests…"
 bundle exec rake spec