Skip to content

Commit 6a7a278

Browse files
committed
registered merge tests in .travis.yml
1 parent dd21cbe commit 6a7a278

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: python
22
python:
3-
- "3.6" # oldest rdflib supported by libgit2
4-
- "3.7" # debian buster (stable) as of 2019-12
3+
#- "3.6" # oldest rdflib supported by libgit2
4+
#- "3.7" # debian buster (stable) as of 2019-12
55
- "3.8-dev" # 3.8 development branch
66
- "nightly"
77

@@ -45,6 +45,7 @@ script:
4545
- coverage run -a --source=quit tests/test_helpers.py
4646
- coverage run -a --source=quit tests/test_namespace.py
4747
- coverage run -a --source=quit tests/test_provenance.py
48+
- coverage run -a --source=quit tests/merges/test_merge_methods.py
4849

4950
before_deploy:
5051
- mkdir dist

tests/merges/test_merge_methods.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ def testThreeWayMerge(self):
2626
testPath = os.path.dirname(os.path.abspath(__file__))
2727
for d in listdir(testPath):
2828
if d[0:4] == "Test" and isdir(join(testPath, d)):
29-
self._merge_test(d, "three-way")
29+
self._merge_test(join(testPath, d), "three-way")
3030

3131
def testContextMerge(self):
3232
"""Test merging two commits. Method: Context"""
3333
testPath = os.path.dirname(os.path.abspath(__file__))
3434
exceptions = ["TestHouseMerge"] # TestHouse actually raises a merge conflict exception
3535
for d in listdir(testPath):
3636
if d[0:4] == "Test" and isdir(join(testPath, d)) and d not in exceptions:
37-
self._merge_test(d, "context")
37+
self._merge_test(join(testPath, d), "context")
3838

3939
def _merge_test(self, dirPath, method):
4040
# Prepate a git Repository

0 commit comments

Comments
 (0)