Sorcery / sorcery

Magical Authentication
https://rubygems.org/gems/sorcery
MIT License
1.45k stars 229 forks source link

TravisCI Builds Failing #213

Closed joshbuker closed 4 years ago

joshbuker commented 4 years ago

It appears the configuration for the test database creation needs to be updated for TravisCI. All builds are failing due to the following error:

$ mysql -e 'create database sorcery_test;'

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

The command "mysql -e 'create database sorcery_test;'" failed and exited with 1 during .
mladenilic commented 4 years ago

Can we just remove the command from the travis.yml? Based on spec app, sqlite is used – https://github.com/Sorcery/sorcery/blob/master/spec/rails_app/config/database.yml

joshbuker commented 4 years ago

Interesting, that might be specific to the app within the specs but it's worth a shot regardless.

joshbuker commented 4 years ago

So that resolves the database error, and now it's just stuck on sprockets expecting a manifest file. I think there might be a PR or Issue floating around for that (sprockets 4 breaking things).

mladenilic commented 4 years ago

I already replied on the PR ;)

https://github.com/Sorcery/sorcery/pull/214#issuecomment-559213228

joshbuker commented 4 years ago

Perfect! Thanks @mladenilic and @Plsr!