Doveps / mono

Code for Doveps projects
http://doveps.com
MIT License
0 stars 0 forks source link

Get the tests to pass #25

Closed greenmoss closed 7 years ago

greenmoss commented 7 years ago

Goal: get tests that you added in #19 to pass Travis, and display the Travis "passing" status button on the README.

JosiahRegencia commented 7 years ago

UPDATE:

I actually have to fix this: os.chdir("/home/josiah/Documents/Doveps/mono/scanner/local/33.33.33.50/")

And also for some reason it doesn't read psycopg2 that well. connection = psycopg2.connect("dbname='Doveps' user='postgres' host='localhost' password='postgres'") that part does not work on travis YET. May have to find a configuration.

greenmoss commented 7 years ago

Hmm, does this need to be broken out? That is: testing db.

JosiahRegencia commented 7 years ago

Probably the os.chdir, part. I think

JosiahRegencia commented 7 years ago

Update:

Fixed the os.chdir part already. currently figuring out how to be able to make steps 1 and 2 from this link: http://sharadchhetri.com/2014/05/04/how-to-install-virtualbox-in-ubuntu-14-04-lts-trusty-tahr/

in Travis

greenmoss commented 7 years ago

"Cheating" for test by uploading the file artifact as part of the test

greenmoss commented 7 years ago

https://docs.travis-ci.com/user/database-setup/#PostgreSQL

JosiahRegencia commented 7 years ago

I actually pushed 33.33.33.50 and 33.33.33.51. Easiest fix and cheat. Hehe. I'm still figuring out the database stuff. somehow it doesn't recognize some files inside the directory. Although I have moved forward.

zerstoeren commented 7 years ago

That is good news. Thanks Josiah.

On Aug 18, 2017 6:38 AM, "Josiah Eleazar T. Regencia" < notifications@github.com> wrote:

I actually pushed 33.33.33.50 and 33.33.33.51. Easiest fix and cheat. Hehe. I'm still figuring out the database stuff. somehow it doesn't recognize some files inside the directory. Although I have moved forward.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Doveps/mono/issues/25#issuecomment-323320883, or mute the thread https://github.com/notifications/unsubscribe-auth/AGbogmS9SxKZ-_EHaM8hySdcDsHqLhw1ks5sZWmjgaJpZM4O1vxf .

JosiahRegencia commented 7 years ago

I wasn't really sure whether you guys were gonna be pleased or not. It was inside .gitignore,however.