summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPrabhu Ramachandran2015-07-31 12:49:57 +0530
committerPrabhu Ramachandran2015-07-31 12:49:57 +0530
commit0225aad1492600ed53504b0986fd13da24c28ae9 (patch)
tree06e1598081ed64fcc2b034a0cac263f7fe46e354 /.travis.yml
parentbbb991f8c6dbbcc6d12e93f3574ffcfbec2cb810 (diff)
parent3f0bb01600535b105c265e9da63814af06c0ab9d (diff)
downloadonline_test-0225aad1492600ed53504b0986fd13da24c28ae9.tar.gz
online_test-0225aad1492600ed53504b0986fd13da24c28ae9.tar.bz2
online_test-0225aad1492600ed53504b0986fd13da24c28ae9.zip
Merge pull request #51 from ankitjavalkar/add-travis
Add travis CI
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..8c064ac
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,22 @@
+language: python
+
+python:
+ - "2.7"
+
+env:
+ - DJANGO=1.5.7
+ - DJANGO=1.6.4
+
+# command to install dependencies
+install:
+ - "easy_install git+https://github.com/FOSSEE/online_test.git#egg=django_exam-0.1"
+ - pip install -q Django==$DJANGO --use-mirrors
+
+before_install:
+ - sudo apt-get update -qq
+ - sudo apt-get install -y scilab
+
+# command to run tests
+script:
+ - nosetests ./testapp/tests/
+ - python manage.py test \ No newline at end of file