1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 17:31:38 +00:00

master may not be available

This commit is contained in:
Thom Wiggers 2019-04-16 15:01:31 +02:00
parent 33605f05d8
commit a7a8c02c27
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363
3 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,8 @@ matrix:
compiler: clang compiler: clang
before_install: before_install:
- pip3 install -r requirements.txt - pip3 install -r requirements.txt
before_script:
- git fetch --unshallow
script: script:
- "cd test && python3 -m nose --rednose --verbose" - "cd test && python3 -m nose --rednose --verbose"
env: env:
@ -26,6 +28,7 @@ matrix:
env: env:
PQCLEAN_ONLY_DIFF: 1 PQCLEAN_ONLY_DIFF: 1
before_install: before_install:
- git fetch --unshallow
- pip3 install -r requirements.txt - pip3 install -r requirements.txt
- brew link gcc - brew link gcc
- export PATH="/usr/local/bin:$PATH" - export PATH="/usr/local/bin:$PATH"

View File

@ -5,6 +5,8 @@ image: Visual Studio 2017
build: build:
verbosity: minimal verbosity: minimal
shallow_clone: false
environment: environment:
PQCLEAN_ONLY_DIFF: 1 PQCLEAN_ONLY_DIFF: 1
matrix: matrix:

View File

@ -161,7 +161,7 @@ def permit_test(testname, thing, **args):
return True return True
# where are there changes? # where are there changes?
diff_result = subprocess.run( diff_result = subprocess.run(
['git', 'diff', '--name-only', 'master'], ['git', 'diff', '--name-only', 'origin/master'],
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT stderr=subprocess.STDOUT
) )