Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 26f9b9f

Browse files
committedOct 6, 2016
Merge remote-tracking branch 'upstream/master'
Conflicts: git/util.py
2 parents f0fcc07 + 833ac6e commit 26f9b9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2068
-1542
lines changed
 

‎.appveyor.yml

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

‎.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
git/test/fixtures/* eol=lf
2+
init-tests-after-clone.sh

0 commit comments

Comments
 (0)
Please sign in to comment.