Browse Source

Try to set HEAD correctly

master
Thom Wiggers 5 years ago
parent
commit
c245274e05
No known key found for this signature in database GPG Key ID: 1BB0A7CE26E363
3 changed files with 11 additions and 6 deletions
  1. +4
    -5
      .circleci/config.yml
  2. +4
    -0
      .travis.yml
  3. +3
    -1
      appveyor.yml

+ 4
- 5
.circleci/config.yml 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: |


+ 4
- 0
.travis.yml 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"


+ 3
- 1
appveyor.yml 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


Loading…
Cancel
Save