Try to set HEAD correctly
This commit is contained in:
parent
49b1214f24
commit
c245274e05
@ -4,11 +4,13 @@ version: 2
|
|||||||
machine: true
|
machine: true
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run: &checkouttask
|
||||||
name: Pull submodules
|
name: Pull submodules
|
||||||
command: |
|
command: |
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
|
git checkout $CIRCLECI_BRANCH
|
||||||
|
git reset --hard $CIRCLECI_SHA1
|
||||||
- run:
|
- run:
|
||||||
name: Install the emulation handlers
|
name: Install the emulation handlers
|
||||||
command: docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
command: docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||||
@ -27,10 +29,7 @@ version: 2
|
|||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Pull submodules
|
<<: *checkouttask
|
||||||
command: |
|
|
||||||
git submodule init
|
|
||||||
git submodule update
|
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: |
|
command: |
|
||||||
|
@ -9,6 +9,8 @@ matrix:
|
|||||||
before_script:
|
before_script:
|
||||||
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
||||||
- git fetch --unshallow
|
- git fetch --unshallow
|
||||||
|
- git checkout $TRAVIS_BRANCH
|
||||||
|
- git reset --hard $TRAVIS_COMMIT
|
||||||
script:
|
script:
|
||||||
- "cd test && python3 -m nose --rednose --verbose"
|
- "cd test && python3 -m nose --rednose --verbose"
|
||||||
env:
|
env:
|
||||||
@ -31,6 +33,8 @@ matrix:
|
|||||||
before_install:
|
before_install:
|
||||||
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
||||||
- git fetch --unshallow
|
- git fetch --unshallow
|
||||||
|
- git checkout $TRAVIS_BRANCH
|
||||||
|
- git reset --hard $TRAVIS_COMMIT
|
||||||
- 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"
|
||||||
|
@ -23,7 +23,9 @@ init:
|
|||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
- 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
|
- python -m pip install -r requirements.txt
|
||||||
- cd test
|
- cd test
|
||||||
# Download Astyle to local folder because putting it in PATH doesn't work
|
# Download Astyle to local folder because putting it in PATH doesn't work
|
||||||
|
Loading…
Reference in New Issue
Block a user