Try to set HEAD correctly
Este commit está contenido en:
padre
49b1214f24
commit
c245274e05
@ -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: |
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Cargando…
Referencia en una nueva incidencia
Block a user