Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit651a4be

Browse files
committed
apveyor: Wintest project with MINGW/Cygwin git (conda2.7&3.4/cpy-3.5)
[travisci skip]
1 parentf2ce1ca commit651a4be

File tree

2 files changed

+80
-6
lines changed

2 files changed

+80
-6
lines changed

‎.appveyor.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# CI on Windows via appveyor
2+
environment:
3+
4+
matrix:
5+
-PYTHON:"C:\\Miniconda"
6+
PYTHON_VERSION:"2.7"
7+
-PYTHON:"C:\\Miniconda"
8+
PYTHON_VERSION:"2.7"
9+
GIT_PATH:"C:\\cygwin64\\bin"
10+
11+
-PYTHON:"C:\\Miniconda3-x64"
12+
PYTHON_VERSION:"3.4"
13+
-PYTHON:"C:\\Miniconda3-x64"
14+
PYTHON_VERSION:"3.4"
15+
GIT_PATH:"C:\\cygwin64\\bin"
16+
17+
-PYTHON:"C:\Python35-x64"
18+
PYTHON_VERSION:"3.5"
19+
-PYTHON:"C:\Python35-x64"
20+
PYTHON_VERSION:"3.5"
21+
GIT_PATH:"C:\\cygwin64\\bin"
22+
23+
install:
24+
-set PATH=%PYTHON%;%PYTHON%\Scripts;%GIT_PATH%;%PATH%
25+
26+
## Print architecture, python & git used for debugging.
27+
#
28+
-|
29+
uname -a
30+
where git
31+
python --version
32+
python -c "import struct; print(struct.calcsize('P') * 8)"
33+
conda info -a
34+
35+
-conda install --yes --quiet pip
36+
-pip install nose wheel coveralls
37+
-IF "%PYTHON_VERSION%"=="2.7" (
38+
pip install mock
39+
)
40+
41+
## Copied from `init-tests-after-clone.sh`.
42+
#
43+
-|
44+
git submodule update --init --recursive
45+
git fetch --tags
46+
git tag __testing_point__
47+
git checkout master || git checkout -b master
48+
git reset --hard HEAD~1
49+
git reset --hard HEAD~1
50+
git reset --hard HEAD~1
51+
git reset --hard __testing_point__
52+
53+
## For commits performed with the default user.
54+
-|
55+
git config --global user.email "travis@ci.com"
56+
git config --global user.name "Travis Runner"
57+
58+
-python setup.py develop
59+
60+
build:off
61+
62+
test_script:
63+
-|
64+
echo "+++ Checking archives for PyPI repo..."
65+
python setup.py bdist_wheel
66+
67+
-IF "%PYTHON_VERSION%"=="3.4" (
68+
nosetests -v --with-coverage
69+
) ELSE (
70+
nosetests -v
71+
)
72+
73+
#on_success:
74+
# - IF "%PYTHON_VERSION%"=="3.4" (coveralls)

‎README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Both commands will install the required package dependencies.
3131
A distribution package can be obtained for manual installation at:
3232

3333
http://pypi.python.org/pypi/GitPython
34-
34+
3535
If you like to clone from source, you can do it like so:
3636

3737
```bash
@@ -45,7 +45,7 @@ git submodule update --init --recursive
4545
####Leakage of System Resources
4646

4747
GitPython is not suited for long-running processes (like daemons) as it tends to
48-
leak system resources. It was written in a time where destructors (as implemented
48+
leak system resources. It was written in a time where destructors (as implemented
4949
in the`__del__` method) still ran deterministically.
5050

5151
In case you still want to use it in such a context, you will want to search the
@@ -56,7 +56,7 @@ separate process which can be dropped periodically.
5656

5757
###RUNNING TESTS
5858

59-
*Important*: Right after cloning this repository, please be sure to have executed the`init-tests-after-clone.sh` script in the repository root. Otherwise you will encounter test failures.
59+
*Important*: Right after cloning this repository, please be sure to have executed the`./init-tests-after-clone.sh` script in the repository root. Otherwise you will encounter test failures.
6060

6161
The easiest way to run test is by using[tox](https://pypi.python.org/pypi/tox) a wrapper around virtualenv. It will take care of setting up environnements with the proper dependencies installed and execute test commands. To install it simply:
6262

@@ -65,8 +65,8 @@ The easiest way to run test is by using [tox](https://pypi.python.org/pypi/tox)
6565
Then run:
6666

6767
tox
68-
69-
68+
69+
7070
For more fine-grained control, you can use`nose`.
7171

7272
###Contributions
@@ -95,7 +95,7 @@ Please have a look at the [contributions file][contributing].
9595
* Finally, set the upcoming version in the`VERSION` file, usually be
9696
incrementing the patch level, and possibly by appending`-dev`. Probably you
9797
want to`git push` once more.
98-
98+
9999
###LICENSE
100100

101101
New BSD License. See the LICENSE file.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp