Sha256: 11bde3fe2924537f846689904d1a4f00f3df2e0a282b5584ac4c13387c85cc0e
Contents?: true
Size: 1.53 KB
Versions: 5
Compression:
Stored size: 1.53 KB
Contents
export RAILS_ENV=test ./script/post_office start ./script/with_lock start # RUN FOR SQLITE cp config/database.sqlite.yml config/database.yml bundle exec rake db:schema:load export SQLITE_SUCCESS=0 export CUC_SQLITE_SUCCESS=0 DBADAPTER=sqlite bundle exec rspec spec && export SQLITE_SUCCESS=1 DBADAPTER=sqlite bundle exec cucumber features && export CUC_SQLITE_SUCCESS=1 if [ $POSTGRES -eq 1 ]; then #RUN FOR Postgresql cp config/database.postgres.local.yml config/database.yml bundle exec rake db:schema:load export PGSQL_SUCCESS=0 export CUCPGSQL_SUCCESS=0 DBADAPTER=pg bundle exec rspec spec && export PGSQL_SUCCESS=1 DBADAPTER=pg bundle exec cucumber features && export CUC_PGSQL_SUCCESS=1 fi #RUN FOR MYSQL cp config/database.mysql.local.yml config/database.yml bundle exec rake db:schema:load export MYSQL_SUCCESS=0 export CUCMYSQL_SUCCESS=0 DBADAPTER=mysql bundle exec rspec spec && export MYSQL_SUCCESS=1 DBADAPTER=mysql bundle exec cucumber features && export CUC_MYSQL_SUCCESS=1 ./script/post_office stop ./script/with_lock stop unset RAILS_ENV if [ $MYSQL_SUCCESS -eq 0 ] ; then echo "Rspec Mysql Failed" && exit 1; fi if [ $PGSQL_SUCCESS -eq 0 ] ; then echo "Rspec Pgsql Failed" && exit 1; fi if [ $SQLITE_SUCCESS -eq 0 ] ; then echo "Rspec SQLite Failed" && exit 1; fi if [ $CUC_MYSQL_SUCCESS -eq 0 ] ; then echo "Cucumber Mysql Failed" && exit 1; fi if [ $CUC_PGSQL_SUCCESS -eq 0 ] ; then echo "Cucumber Pgsql Failed" && exit 1; fi if [ $CUC_SQLITE_SUCCESS -eq 0 ] ; then echo "Cucumber SQLite Failed" && exit 1; fi
Version data entries
5 entries across 5 versions & 1 rubygems