diff --git a/.travis.yml b/.travis.yml index 6b72ac2c..2761cd1b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,8 @@ matrix: compiler: clang before_install: - pip3 install -r requirements.txt + before_script: + - git fetch --unshallow script: - "cd test && python3 -m nose --rednose --verbose" env: @@ -26,6 +28,7 @@ matrix: env: PQCLEAN_ONLY_DIFF: 1 before_install: + - git fetch --unshallow - pip3 install -r requirements.txt - brew link gcc - export PATH="/usr/local/bin:$PATH" diff --git a/appveyor.yml b/appveyor.yml index e9b9464e..eccf644b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,6 +5,8 @@ image: Visual Studio 2017 build: verbosity: minimal +shallow_clone: false + environment: PQCLEAN_ONLY_DIFF: 1 matrix: diff --git a/test/helpers.py b/test/helpers.py index 2fcd3f03..b97457a5 100644 --- a/test/helpers.py +++ b/test/helpers.py @@ -161,7 +161,7 @@ def permit_test(testname, thing, **args): return True # where are there changes? diff_result = subprocess.run( - ['git', 'diff', '--name-only', 'master'], + ['git', 'diff', '--name-only', 'origin/master'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT )