Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork965
Test project on Windows with MINGW git (conda2.7&3.4/cpy-3.5)#519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
42 commits Select commitHold shift + click to select a range
7842e92 test, deps: FIX `mock` deps on py3.
ankostis1210ec7 apveyor: Wintest project with MINGW/Cygwin git (conda2.7&3.4/cpy-3.5)
ankostis51bf7cb win: GC.collect on all TC.tearDown to fix appveyor hang runs
ankostis082851e apveyor: simplify test.
ankostis7ec2f8a apveyor, #519: FIX incomplete Popen pump
ankostisfa70623 test, #519: FIX appveyor conda & failures in py2.6 `assertRaisesRegexp`
ankostis7bbaac2 test, #519: Popen() universal_newlin.es NoWindow in Winfoes
ankostisb343718 test, #519: Popen() pump: remove WaitGroup
ankostis783ad99 test, #519: Travis-test flake8/site on py3.4 only
ankostis45f8f20 Win, #519: FIX WinHangs: Popen() CREATE_NEW_PROCESS_GROUP to allow kill
ankostis29eb301 win, #519: proc.terminate() instead of kill(SIGTERM)
ankostisf495e94 src, #519: collect all is_<platform>() calls
ankostisaa3f2fa src, #519: Improve daemon launch so Win does not stuck
ankostis618e625 test, #519: Try appveyor advice for never-ending builds
ankostis6a3c95b test, #519: No remote TCs, git-daemon cannot die@!
ankostisc572a8d Win, #519: FIX undead Git-daemon on Windows
ankostis278423f Travis, #519: split flake8 from sphinx, to speedup tests
ankostis1124e19 Appveyor, #519: Git-daemon also for Cygwin-git
ankostis25a2ebf Win, #519: Remove `git.cmd` failback - no longer exists.
ankostisdf2fb54 PY2, #519: FIX GitCommandError.tostr() encoding issue
ankostise61439b src: constify is_<platform>() calls
ankostis4cede23 Win, #519: Ensure fixtures & bashscript checked-out eol=lf
ankostis434505f TCs: unittestize many test-docs assertions
ankostis137ee6e Win, #519: FIX with_rw_directory() to remove read-only dirs
ankostis57550cc appveyor: Try to fix conda-3.4 & READM line-wdith
ankostis4674163 test: Start using `ddt` library for TCs
ankostisa5db3d3 io, dif: #519: FIX DIFF freeze when reading from GIL
ankostiscf2335a Win, hook, #519: Consume Hook Popen-proc out of GIL
ankostisf11fdf1 remote, #519: FIX1-of-2 double-decoding push-infos
ankostis44c6d0b Proc, #519: Rework error-exc msgs & log thread-pumps errors
ankostis6e98416 remote, #519: INCOMPLETE FIX-2 double-decoding push-infos
ankostis0574b8b ABANDON select/poll
ankostisf1d2d06 FIX tox/requirements
ankostis3959556 FIX hook TC on PY3+Win & indeterministic lock timing.
ankostis842fb68 Appveyor, #519: disable Cygiwin harness.
ankostisb114f3b ci: Capture logging for Popen() execute statements.
ankostisd84b960 cfg_TCs, #519: FIX config resource leaks
ankostis13d399f ci: restore ci log-level to normal, coverage on Win-Appveyor
ankostisa79cf67 repo-TCs, #519: FIX config resource leaks
ankostisb8b025f Win, #519: FIX repo TCs.
ankostisbdf1e68 Merge remote-tracking branch 'origin/master' into appveyor
ankostis9a52168 io, #519: ALL open() --> with open()
ankostisFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
83 changes: 83 additions & 0 deletions.appveyor.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| # CI on Windows via appveyor | ||
| environment: | ||
| GIT_DAEMON_PATH: "C:\\Program Files\\Git\\mingw64\\libexec\\git-core" | ||
| CYGWIN_GIT_PATH: "C:\\cygwin\\bin;%GIT_DAEMON_PATH%" | ||
| CYGWIN64_GIT_PATH: "C:\\cygwin64\\bin;%GIT_DAEMON_PATH%" | ||
| matrix: | ||
| ## MINGW | ||
| # | ||
| - PYTHON: "C:\\Python27" | ||
| PYTHON_VERSION: "2.7" | ||
| GIT_PATH: "%GIT_DAEMON_PATH%" | ||
| - PYTHON: "C:\\Python34-x64" | ||
| PYTHON_VERSION: "3.4" | ||
| GIT_PATH: "%GIT_DAEMON_PATH%" | ||
| - PYTHON: "C:\\Python35-x64" | ||
| PYTHON_VERSION: "3.5" | ||
| GIT_PATH: "%GIT_DAEMON_PATH%" | ||
| - PYTHON: "C:\\Miniconda35-x64" | ||
| PYTHON_VERSION: "3.5" | ||
| IS_CONDA: "yes" | ||
| GIT_PATH: "%GIT_DAEMON_PATH%" | ||
| # ## Cygwin | ||
| # # | ||
| # - PYTHON: "C:\\Miniconda-x64" | ||
| # PYTHON_VERSION: "2.7" | ||
| # IS_CONDA: "yes" | ||
| # GIT_PATH: "%CYGWIN_GIT_PATH%" | ||
| # - PYTHON: "C:\\Python34-x64" | ||
| # PYTHON_VERSION: "3.4" | ||
| # GIT_PATH: "%CYGWIN_GIT_PATH%" | ||
| # - PYTHON: "C:\\Python35-x64" | ||
| # PYTHON_VERSION: "3.5" | ||
| # GIT_PATH: "%CYGWIN64_GIT_PATH%" | ||
| install: | ||
| - set PATH=%PYTHON%;%PYTHON%\Scripts;%GIT_PATH%;%PATH% | ||
| ## Print architecture, python & git used for debugging. | ||
| # | ||
| - | | ||
| uname -a | ||
| where git git-daemon python pip pip3 pip34 | ||
| python --version | ||
| python -c "import struct; print(struct.calcsize('P') * 8)" | ||
| - IF "%IS_CONDA%"=="yes" ( | ||
| conda info -a & | ||
| conda install --yes --quiet pip | ||
| ) | ||
| - pip install nose ddt wheel coveralls | ||
| - IF "%PYTHON_VERSION%"=="2.7" ( | ||
| pip install mock | ||
| ) | ||
| ## Copied from `init-tests-after-clone.sh`. | ||
| # | ||
| - | | ||
| git submodule update --init --recursive | ||
| git fetch --tags | ||
| git tag __testing_point__ | ||
| git checkout master || git checkout -b master | ||
| git reset --hard HEAD~1 | ||
| git reset --hard HEAD~1 | ||
| git reset --hard HEAD~1 | ||
| git reset --hard __testing_point__ | ||
| ## For commits performed with the default user. | ||
| - | | ||
| git config --global user.email "travis@ci.com" | ||
| git config --global user.name "Travis Runner" | ||
| - pip install -e . | ||
| build: false | ||
| test_script: | ||
| - nosetests --with-coverage | ||
| #on_success: | ||
| # - IF "%PYTHON_VERSION%"=="3.4" (coveralls) |
2 changes: 2 additions & 0 deletions.gitattributes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| git/test/fixtures/* eol=lf | ||
| init-tests-after-clone.sh |
9 changes: 5 additions & 4 deletions.travis.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
46 changes: 32 additions & 14 deletionsREADME.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletiondoc/source/conf.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.