Skip to content

Commit d24dcb2

Browse files
committed
Update Travis CI to use Makefile
This is not essential but promotes uniformity. Also, `collectstatic` is removed from this test as this is not really necessary. Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
1 parent 24d8b1d commit d24dcb2

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ env:
1212
- SECRET_KEY="i1bn=oly)w*2yl-5yc&f!vvgt)p)fh3_2$r#spa!*sw36f5ov7"
1313
- GH_TOKEN="dummygithubtoken"
1414

15+
# venv is already activated
1516
before_script:
16-
- psql -c "CREATE DATABASE vulnerablecode;" -U postgres
17-
- ./manage.py migrate
17+
- make postgres ACTIVATE=
1818

1919
script:
20-
- ./manage.py collectstatic
21-
- python -m pytest -v -m "not webtest"
20+
- make test ACTIVATE=
2221

2322
notifications:
2423
email: false

0 commit comments

Comments
 (0)