-
-
Save foca/962e6ccd1e0389265e70 to your computer and use it in GitHub Desktop.
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
echo "Testing against postgres"; | |
sudo gem uninstall pg; | |
sudo gem install postgres; | |
rake blah:blah:blah # run activerecord tests against postgres | |
POSTGRES_RESULT=$? | |
# ... same for every lib and dependency you need | |
$POSTGRES_RESULT && $PG_RESULT && $MYSQL_RESULT && .... | |
# as long as the script ends by returning the "correct" status code | |
# you can run whatever you need inside of it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment