summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 5e391ba840c8f8a2deec0652d9471f9ff09974a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: python

python:
  - "2.7"

env:
  - DJANGO=1.8.13
  - DJANGO=1.9.5

# command to install dependencies
install:
  - pip install tornado
  - pip install git+https://github.com/FOSSEE/online_test.git#egg=yaksh-0.1
  - pip install -q Django==$DJANGO --use-mirrors
  - pip install -q pytz==2016.4
  - pip install -q python-social-auth==0.2.19

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y scilab

# command to run tests
script:
  - python manage.py test yaksh
  - nosetests -v yaksh/tests