Browse Source

master may not be available

master
Thom Wiggers 5 years ago
parent
commit
a7a8c02c27
No known key found for this signature in database GPG Key ID: 1BB0A7CE26E363
3 changed files with 6 additions and 1 deletions
  1. +3
    -0
      .travis.yml
  2. +2
    -0
      appveyor.yml
  3. +1
    -1
      test/helpers.py

+ 3
- 0
.travis.yml View File

@@ -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"


+ 2
- 0
appveyor.yml View File

@@ -5,6 +5,8 @@ image: Visual Studio 2017
build:
verbosity: minimal

shallow_clone: false

environment:
PQCLEAN_ONLY_DIFF: 1
matrix:


+ 1
- 1
test/helpers.py View File

@@ -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
)


Loading…
Cancel
Save