gitenberg-dev / giten_site

django repo for running the GITenberg website
http://www.gitenberg.org
40 stars 5 forks source link

Add travis config file for tests #54

Closed bdr99 closed 6 years ago

bdr99 commented 6 years ago

We added a Travis config file so that the tests for the site will run on Travis. In addition to creating the actual .travis.yml file, this involved creating a separate settings file specifically for Travis, in order to disable the SECURE_SSL_REDIRECT setting.

bdr99 commented 6 years ago

@eshellman What do you mean exactly? How is it accessing S3?

eshellman commented 6 years ago

Never mind

It would be much easier to maintain the travis settings if you used a swtch instead of copying the whole file.

For example, have travis-settings import * from settings, then overwrite the changed settings

DRY - Don't Repeat Yourself

eshellman commented 6 years ago

Getting Travis working is a nice step!

eshellman commented 6 years ago

This looks great!