blob: 928429416779785dc55b6058c03a16669b1e79c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
language: python
python:
- "2.6"
- "2.7"
# - "pypy" - won't work as smmap doesn't work (see gitdb/.travis.yml for details)
git:
# a higher depth is needed for most of the tests - must be high enough to not actually be shallow
# as we clone our own repository in the process
depth: 99999
install:
- git submodule update --init --recursive
- git fetch --tags
- pip install coveralls
# for now we have to make sure there is a master branch - at some point we should just have it by default
- git branch master 0.3
# generate some reflog as git-python tests need it
- git reset --hard HEAD~1
- git reset --hard HEAD~1
- git reset --hard HEAD~1
- git reset --hard origin/0.3
- git checkout master
- git reset --hard HEAD~1
- git reset --hard HEAD~1
- git reset --hard origin/0.3
- git checkout 0.3
script:
- nosetests -v --with-coverage
after_success:
- coveralls
|