1. Artur Barseghyan
  2. django-slim

Commits

Artur Barseghyan  committed b1a2766 Draft

added travis

  • Participants
  • Parent commits a9356ba
  • Branches default

Comments (0)

Files changed (1)

File .travis.yml

View file
  • Ignore whitespace
+language: python
+
+# Python versions
+python:
+  - "2.6"
+  - "2.7"
+  - "3.3"
+
+# Command to install dependencies
+install: 
+  - python setup.py install
+  - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -r example/requirements.txt; fi
+  - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r example/requirements.txt; fi
+  - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install -r example/requirements.txt; fi
+  - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install -r example/requirements3.txt; fi
+  - mkdir -p example/logs example/db example/static example/tmp example/media example/media/foo-images example/media/static
+  - python example/example/manage.py syncdb --noinput --traceback -v 3
+# Command to run tests
+script: 
+  - python example/example/manage.py test slim --traceback -v 3