Cleaned up SDK version check.
This commit is contained in:
parent
0ded96910d
commit
57854eefc4
53
.travis.yml
53
.travis.yml
|
@ -1,3 +1,26 @@
|
|||
os:
|
||||
- linux
|
||||
|
||||
sudo: false
|
||||
|
||||
dist: trusty
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- lcov
|
||||
- build-essential
|
||||
- git
|
||||
- libc6-i386
|
||||
- time
|
||||
- libblocksruntime-dev
|
||||
|
||||
git:
|
||||
depth: 5
|
||||
|
||||
# We use cpp for unit tests, and c for the main project.
|
||||
language: cpp
|
||||
compiler: clang
|
||||
|
||||
env:
|
||||
# - PUBLISHMETA=True
|
||||
|
@ -18,28 +41,6 @@ env:
|
|||
# - TARGET=AIORACERF3
|
||||
# - TARGET=...
|
||||
|
||||
# use new docker environment
|
||||
sudo: false
|
||||
|
||||
git:
|
||||
depth: 5
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- lcov
|
||||
- build-essential
|
||||
- git
|
||||
- libc6-i386
|
||||
- time
|
||||
- libblocksruntime-dev
|
||||
|
||||
# We use cpp for unit tests, and c for the main project.
|
||||
language: cpp
|
||||
compiler: clang
|
||||
dist: trusty
|
||||
|
||||
|
||||
before_install:
|
||||
- pip install --user cpp-coveralls
|
||||
- gem install coveralls-lcov
|
||||
|
@ -48,7 +49,7 @@ install:
|
|||
- make arm_sdk_install
|
||||
|
||||
before_script:
|
||||
- tools/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc --version
|
||||
- make arm_sdk_version
|
||||
- clang --version
|
||||
- clang++ --version
|
||||
- gcc --version
|
||||
|
@ -60,12 +61,6 @@ cache:
|
|||
- downloads
|
||||
- tools
|
||||
|
||||
|
||||
#notifications:
|
||||
# irc: "chat.freenode.net#cleanflight"
|
||||
# use_notice: true
|
||||
# skip_join: true
|
||||
|
||||
notifications:
|
||||
slack: betaflightgroup:LQSj02nsBEdefcO5UQcLgB0U
|
||||
webhooks:
|
||||
|
|
|
@ -18,6 +18,11 @@ ARM_SDK_DIR ?= $(TOOLS_DIR)/gcc-arm-none-eabi-7-2017-q4-major
|
|||
# Checked below, Should match the output of $(shell arm-none-eabi-gcc -dumpversion)
|
||||
GCC_REQUIRED_VERSION ?= 7.2.1
|
||||
|
||||
.PHONY: arm_sdk_version
|
||||
|
||||
arm_sdk_version:
|
||||
$(V1) $(ARM_SDK_PREFIX)gcc --version
|
||||
|
||||
## arm_sdk_install : Install Arm SDK
|
||||
.PHONY: arm_sdk_install
|
||||
|
||||
|
|
Loading…
Reference in New Issue