diff --git a/.travis.sh b/.travis.sh index 84724b9b39..492e78f9fa 100755 --- a/.travis.sh +++ b/.travis.sh @@ -3,7 +3,6 @@ FC_VER=$(make version) REVISION=$(git rev-parse --short HEAD) BRANCH=$(git rev-parse --abbrev-ref HEAD) -REVISION=$(git rev-parse --short HEAD) LAST_COMMIT_DATE=$(git log -1 --date=short --format="%cd") TARGET_FILE=obj/betaflight_${FC_VER}_${TARGET} TRAVIS_REPO_SLUG=${TRAVIS_REPO_SLUG:=$USER/undefined} diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cff4b6142c..cb6b72d2f0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -47,11 +47,11 @@ stages: displayName: 'Install the build toolchain' - script: sudo apt-get install -y libblocksruntime-dev displayName: 'Install extra packages' - - script: make checks + - script: make EXTRA_FLAGS=-Werror checks displayName: 'Run sanity checks' - - script: make test-all + - script: make EXTRA_FLAGS=-Werror test-all displayName: 'Run all unit tests' - - script: make all + - script: make EXTRA_FLAGS=-Werror all displayName: 'Build all oficial targets' - script: mkdir release; cp obj/*.hex release/ displayName: 'Copy artefacts'