Advertisement
Guest User

Travis CI config for code coverage and unittest

a guest
Sep 19th, 2017
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.51 KB | None | 0 0
  1. {
  2.   "language": "python",
  3.   "python": "3.5",
  4.   "install": [
  5.     "pip install -r varia/requirements.txt",
  6.     "pip install coverage",
  7.     "pip install codecov"
  8.   ],
  9.   "before_script": [
  10.     "export DISPLAY=:99.0",
  11.     "sh -e /etc/init.d/xvfb start",
  12.     "sleep 3"
  13.   ],
  14.   "script": [
  15.     "coverage run --source=./,./mc,./mc/win,./mc/dlg -m unittest discover -s tests",
  16.     "coverage report -m"
  17.   ],
  18.   "after_success": [
  19.     "codecov"
  20.   ],
  21.   "group": "stable",
  22.   "dist": "trusty",
  23.   "os": "linux"
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement