run ceedling uinit test (no tests yet)

This commit is contained in:
hathach 2019-06-10 17:04:19 +07:00
parent 2ed501d6b1
commit db08bde415
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581
1 changed files with 4 additions and 13 deletions

View File

@ -2,8 +2,6 @@ language: c
dist: xenial
compiler:
- gcc
env:
- TRAVIS_SDK=arm
addons:
apt:
@ -15,21 +13,14 @@ addons:
- gcc-arm-embedded
install:
#- wget https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~trusty1_amd64.deb
#- sudo dpkg -i gcc-arm-embedded*_amd64.deb
- gem install ceedling
before_script:
#- function var_search () { case "$1" in *$2*) true;; *) false;; esac; }
#- sudo dpkg --add-architecture i386
#- (! var_search "${TRAVIS_SDK-}" arm || (wget https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~trusty1_amd64.deb && sudo dpkg -i gcc-arm-embedded*_amd64.deb))
#- sudo apt-get install -y realpath
#- realpath --version
#- gcc --version
#- (! var_search "${TRAVIS_SDK-}" arm || arm-none-eabi-gcc --version)
- arm-none-eabi-gcc --version
script:
# Build all examples
- python3 tools/build_all.py
# Run unit tests
- cd test
- ceedling test:all