Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Side by Side Diff: tools/telemetry/third_party/coverage/howto.txt

Issue 1366913004: Add coverage Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 * Release checklist
2
3 - Test on:
4 - Windows
5 - Ubuntu
6 - Mac
7 - Pythons 2.6, 2.7, 3.3, 3.4, 3.5
8 - Version number in coverage/version.py
9 - 3.1a1, 3.1b1, 3.1c1, 3.1
10 - Python version number in classifiers in setup.py
11 - Copyright date in NOTICE.txt
12 - Update CHANGES.txt, including release date.
13 - Update README.rst, including "New in x.y:"
14 - Update docs
15 - Version, date, and changes in doc/changes.rst
16 - Version and date in doc/index.rst
17 - Version and copyright date in doc/conf.py
18 - Don't forget the man page: doc/python-coverage.1.txt
19 - done with changes to source files, check them in.
20 - Generate new sample_html to get the latest, incl footer version number:
21 pip install -e .
22 cd ~/cog/trunk
23 rm -rf htmlcov
24 coverage run --branch --source=cogapp -m nose cogapp/test_cogapp.py:CogT estsInMemory
25 coverage combine
26 coverage html
27 - IF BETA:
28 rm -f ~/coverage/trunk/doc/sample_html_beta/*.*
29 cp -r htmlcov/ ~/coverage/trunk/doc/sample_html_beta/
30 - ELSE:
31 rm -f ~/coverage/trunk/doc/sample_html/*.*
32 cp -r htmlcov/ ~/coverage/trunk/doc/sample_html/
33 - IF BETA:
34 - Build and publish docs:
35 $ make publishbeta
36 - ELSE:
37 - Build and publish docs:
38 $ make publish
39 - Kits:
40 - Source kit:
41 - $ make kit
42 - Wheels
43 - $ make wheel
44 - Windows kits
45 - $ hg push
46 - wait about 35 minutes for Appveyor to build kits.
47 - $ make download_appveyor
48 - examine the dist directory, and remove anything that looks malformed.
49 - Update PyPi:
50 - $ make pypi
51 - upload kits:
52 - $ make kit_upload
53 - Visit http://pypi.python.org/pypi?%3Aaction=pkg_edit&name=coverage :
54 - show/hide the proper versions.
55 - Tag the tree
56 - hg tag -m "Coverage 3.0.1" coverage-3.0.1
57 - Update nedbatchelder.com
58 - Blog post?
59 - Update readthedocs
60 - Coverage / versions
61 - find the latest tag in the inactive list, edit it, make it active.
62 - IF NOT BETA:
63 - visit https://readthedocs.org/dashboard/coverage/advanced/
64 - change the default version
65 - Update bitbucket:
66 - Issue tracker should get new version number in picker.
67 # Note: don't delete old version numbers: it marks changes on the tickets
68 # with that number.
69 - Announce on coveragepy-announce@googlegroups.com .
70 - Announce on TIP.
71
72
73 * Building
74
75 - Create PythonXX\Lib\distutils\distutils.cfg::
76 [build]
77 compiler = mingw32
78
79 * Testing
80
81 - Testing of Python code is handled by tox.
82 - Create and activate a virtualenv
83 - pip install -r requirements/dev.pip
84 - $ tox
85
86 - For complete coverage testing:
87
88 $ make metacov
89
90 This will run coverage.py under its own measurement. You can do this in
91 different environments (Linux vs. Windows, for example), then copy the data
92 files (.metacov.*) to one machine for combination and reporting. To
93 combine and report:
94
95 $ make metahtml
96
97 - To run the Javascript tests:
98
99 open tests/js/index.html in variety of browsers.
OLDNEW
« no previous file with comments | « tools/telemetry/third_party/coverage/doc/trouble.rst ('k') | tools/telemetry/third_party/coverage/igor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698