Skip to content

Commit

Permalink
Export PGPassword for scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbeales committed Mar 28, 2018
1 parent dbdff9d commit e5ae3e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ checks:
build:
dependencies:
before:
- psql -h 127.0.0.1 -c 'CREATE DATABASE mental_health_test;' -U scrutinizer -P scrutinizer
- psql -h 127.0.0.1 -d mental_health_test -c "CREATE USER mental WITH PASSWORD 'health';" -U scrutinizer -P scrutinizer
- export PGPASSWORD=scrutinizer psql -h 127.0.0.1 -c 'CREATE DATABASE mental_health_test;' -U scrutinizer
- export PGPASSWORD=scrutinizer psql -h 127.0.0.1 -d mental_health_test -c "CREATE USER mental WITH PASSWORD 'health';" -U scrutinizer
environment:
# Languages
ruby: 2.4.2
Expand Down
8 changes: 4 additions & 4 deletions spec/rspec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ JournalEntry
unique entry date
 {:timecop=>:freeze}
#to_s
 should eq "2018-03-28 16:40:05 UTC "
 should eq "2018-03-28 16:47:50 UTC "

Journal
 is an instance of Journal
Expand All @@ -407,7 +407,7 @@ Journal
 should not be truthy
#list_entries
defaults to last 4
 should eq "2018-03-28 16:40:05 UTC 2012-12-12 00:00:00 UTC "
 should eq "2018-03-28 16:47:50 UTC 2012-12-12 00:00:00 UTC "
#read_entry
 should be > 0
#name
Expand Down Expand Up @@ -1000,7 +1000,7 @@ AlexaService
 should eq " Cannot find instrument blah. Please try again.\n"
 should eq "Below is a list of the ways you might have felt or behaved. Please check the boxes to tell me how often you have felt this way in the past week or so."
#read_all
 should eq "2018-03-28 16:40:03 UTC "
 should eq "2018-03-28 16:47:47 UTC "
 should not be nil

InstrumentLoaderCsv
Expand Down Expand Up @@ -1034,6 +1034,6 @@ InstrumentLoader
missing instrument
 should raise RuntimeError

Finished in 8.16 seconds (files took 6.11 seconds to load)
Finished in 11.43 seconds (files took 4.8 seconds to load)
511 examples, 0 failures

0 comments on commit e5ae3e9

Please sign in to comment.