summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 4777f119cafa0e1d5330ed56b091ccddd8db27f0 (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
26
27
language: python

python:
  - "2.7"
  - "3.5"

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y scilab
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start

# command to install dependencies
install:
  - pip install -r requirements/requirements-common.txt
  - python setup.py develop

# command to run tests and coverage
script:
  - coverage erase
  - coverage run -p manage.py test -v 2 yaksh
  - coverage run -p manage.py test -v 2 yaksh.live_server_tests.load_test

after_success:
  - coverage combine
  - coverage report