blob: f7053af43e0ad480cee5b8d45df6466c536a61f1 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
language: python
python:
- "3.6"
services:
- xvfb
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y scilab
- "export DISPLAY=:99.0"
- sleep 3 # give xvfb some time to start
# command to install dependencies
install:
- pip install -r requirements/requirements-common.txt
- pip install codecov
- python setup.py develop
- python manage.py migrate
# command to run tests and coverage
script:
- coverage erase
- coverage run -p manage.py test -v 2 --settings online_test.test_settings yaksh
- coverage run -p manage.py test -v 2 --settings online_test.test_settings grades
- coverage run -p manage.py test -v 2 --settings online_test.test_settings yaksh.live_server_tests.load_test
after_success:
- coverage combine
- coverage report
- codecov
sudo:
required
dist:
trusty
addons:
firefox: "46.0"
|