| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,8 +34,8 @@ before_install: | |||
| 34 | 34 | - export LD_LIBRARY_PATH=$PY_LIBDIR:$LD_LIBRARY_PATH | |
| 35 | 35 | ||
| 36 | 36 | install: | |
| 37 | - - pip install --upgrade pycparser coverage codecov pytest | ||
| 38 | - # setup.py install works too, but need to deal w Python.test then | ||
| 37 | + - pip install --upgrade -r requirements.txt | ||
| 38 | + # `setup.py install` works too, but need to deal with `Python.Test` PATH | ||
| 39 | 39 | - coverage run setup.py build_ext --inplace | |
| 40 | 40 | ||
| 41 | 41 | script: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,10 +40,9 @@ init: | |||
| 40 | 40 | - python -c "import ctypes; print(ctypes.sizeof(ctypes.c_wchar))" | |
| 41 | 41 | ||
| 42 | 42 | install: | |
| 43 | - # install for wheels & coverage | ||
| 44 | - - pip install --upgrade pip wheel coverage codecov pytest | ||
| 43 | + - pip install --upgrade -r requirements.txt | ||
| 45 | 44 | ||
| 46 | - # Install OpenCover. Can't put on packages.config; not Linux/Mono compatible | ||
| 45 | + # Install OpenCover. Can't put on `packages.config`, not Mono compatible | ||
| 47 | 46 | - .\tools\nuget\nuget.exe install OpenCover -OutputDirectory packages | |
| 48 | 47 | ||
| 49 | 48 | build_script: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,11 @@ | |||
| 1 | + # Requirements for both Travis and AppVeyor | ||
| 2 | + pytest | ||
| 3 | + coverage | ||
| 4 | + | ||
| 5 | + # Platform specific requirements | ||
| 6 | + pip; sys_platform == 'win32' | ||
| 7 | + wheel; sys_platform == 'win32' | ||
| 8 | + pycparser; sys_platform != 'win32' | ||
| 9 | + | ||
| 10 | + # Coverage upload | ||
| 11 | + codecov | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,2 +1,6 @@ | |||
| 1 | + # Don't combine `.bumpversion.cfg` with `setup.cfg`. Messes up formatting. | ||
| 2 | + | ||
| 1 | 3 | [tool:pytest] | |
| 2 | 4 | xfail_strict = True | |
| 5 | + # -r fsxX: show extra summary info for: (f)ailed, (s)kip, (x)failed, (X)passed | ||
| 6 | + addopts = -r fsxX --color=yes | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments