Browse Source

Initial travis.yml file for running unit tests (#187)

Will Meldon 5 years ago
parent
commit
bf346f5bf2
1 changed files with 11 additions and 0 deletions
  1. 11 0
      .travis.yml

+ 11 - 0
.travis.yml

@@ -0,0 +1,11 @@
+dist: xenial   # required for Python >= 3.7
+language: python
+python:
+  - "3.7"
+install:
+  - pip install -e './[dev]'
+before_script:
+  - coderedcms start testproject
+# command to run tests
+script:
+  - python manage.py test coderedcms --settings=coderedcms.tests.settings