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

Try to set HEAD correctly

This commit is contained in:
Thom Wiggers 2019-04-18 09:19:24 +02:00
parent 49b1214f24
commit c245274e05
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363
3 changed files with 11 additions and 6 deletions

View File

@ -4,11 +4,13 @@ version: 2
machine: true
steps:
- checkout
- run:
- run: &checkouttask
name: Pull submodules
command: |
git submodule init
git submodule update
git checkout $CIRCLECI_BRANCH
git reset --hard $CIRCLECI_SHA1
- run:
name: Install the emulation handlers
command: docker run --rm --privileged multiarch/qemu-user-static:register --reset
@ -27,10 +29,7 @@ version: 2
steps:
- checkout
- run:
name: Pull submodules
command: |
git submodule init
git submodule update
<<: *checkouttask
- run:
name: Run tests
command: |

View File

@ -9,6 +9,8 @@ matrix:
before_script:
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
- git fetch --unshallow
- git checkout $TRAVIS_BRANCH
- git reset --hard $TRAVIS_COMMIT
script:
- "cd test && python3 -m nose --rednose --verbose"
env:
@ -31,6 +33,8 @@ matrix:
before_install:
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
- git fetch --unshallow
- git checkout $TRAVIS_BRANCH
- git reset --hard $TRAVIS_COMMIT
- pip3 install -r requirements.txt
- brew link gcc
- export PATH="/usr/local/bin:$PATH"

View File

@ -23,7 +23,9 @@ init:
build_script:
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
- git fetch
- git fetch --unshallow
- git checkout %APPVEYOR_REPO_BRANCH%
- git reset --hard %APPVEYOR_REPO_COMMIT%
- python -m pip install -r requirements.txt
- cd test
# Download Astyle to local folder because putting it in PATH doesn't work