Closed chosak closed 6 years ago
Travis build seems to have failed for similar reason to #313. @sebworks could this be a Node version thing?
Travis build seems to have failed
The front-end build (setup.sh
) uses node 6 and fails with 8.
Thanks for the review @higs4281!
Interesting, it fails even though the .travis.yml
file specifies nodejs: 6
.
I've addressed this before in regulations-site#847 by explicitly calling nvm use 6
in the Travis before_install
step. I added that here in 9d98462 and that seems to have fixed the build.
This change adds support for using the
DATABASE_URL
environment variable to specify Django's dev/test database, based on the dj-database-url package.It lets you run tests against e.g. Postgres:
(Note that this will require first creating a local database and
pip install
ingpsycopg2==2.7.3.2
.)It adds
dj-database-url==0.4.2
to the dev/test requirements as that matches the current version in cfgov-refresh.It also excludes the Django settings files from coverage because otherwise the new logic would reduce the coverage of this repo.
Notes
Checklist