Try to set HEAD correctly

This commit is contained in:
Thom Wiggers 2019-04-18 09:19:24 +02:00
parent 49b1214f24
commit c245274e05
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG: 001BB0A7CE26E363
3 ha cambiato i file con 11 aggiunte e 6 eliminazioni

Vedi 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: |

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

Vedi 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