diff options
author | Palaparthy Adityachandra | 2020-03-20 11:12:52 +0530 |
---|---|---|
committer | GitHub | 2020-03-20 11:12:52 +0530 |
commit | e8573822d3ed25306d5d2faf946633f2c17997b0 (patch) | |
tree | c75b5d2730a74191f2c7e51a881e9404f5627c1d /.travis.yml | |
parent | 1dbaec7dd8098701e11713faa0c9040a315e5fac (diff) | |
parent | 36f43151ab26744cf9edc05d0df3f0fb901fcaaa (diff) | |
download | online_test-e8573822d3ed25306d5d2faf946633f2c17997b0.tar.gz online_test-e8573822d3ed25306d5d2faf946633f2c17997b0.tar.bz2 online_test-e8573822d3ed25306d5d2faf946633f2c17997b0.zip |
Merge pull request #655 from adityacp/bump_django
Bump django version to 3.0.3
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml index 59eaa66..a2cf266 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,15 @@ language: python python: - - "2.7" - - "3.5" + - "3.6" + +services: + - xvfb 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 + - export DISPLAY=:99.0 # command to install dependencies install: @@ -17,23 +17,24 @@ install: - pip install codecov - python setup.py develop +before_script: + - python manage.py migrate auth + - 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 + - coverage run -p manage.py test -v 2 yaksh + - coverage run -p manage.py test -v 2 grades + - coverage run -p manage.py test -v 2 yaksh.live_server_tests.load_test after_success: - coverage combine - coverage report - codecov -sudo: - required - dist: - trusty + xenial addons: firefox: "46.0" |