tinyusb/.travis.yml

35 lines
729 B
YAML
Raw Normal View History

2013-05-09 13:48:11 +07:00
language: c
dist: bionic
2013-05-09 13:48:11 +07:00
compiler:
- gcc
2019-06-10 16:34:36 +07:00
addons:
apt:
sources:
2019-06-10 16:39:06 +07:00
- sourceline: "ppa:team-gcc-arm-embedded/ppa"
2019-06-10 16:34:36 +07:00
packages:
- python3
2019-06-10 16:50:23 +07:00
- ruby
- gcc-arm-embedded
2019-06-10 16:34:36 +07:00
install:
2019-06-10 16:50:23 +07:00
- gem install ceedling
2019-10-04 05:24:59 -04:00
before_script:
2019-10-04 05:24:59 -04:00
- wget http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/latest/exports/msp430-gcc-8.2.0.52_linux64.tar.bz2 -O /tmp/msp430-gcc.tar.b2
- tar -xjf /tmp/msp430-gcc.tar.b2
- export PATH=$PATH:$PWD/msp430-gcc-8.2.0.52_linux64/bin
2019-06-10 16:50:23 +07:00
- arm-none-eabi-gcc --version
2019-10-04 05:24:59 -04:00
- msp430-elf-gcc --version
script:
2019-06-10 17:04:19 +07:00
# Build all examples
2019-06-10 16:45:02 +07:00
- python3 tools/build_all.py
2019-06-10 17:04:19 +07:00
# Run unit tests
- cd test
- ceedling test:all
2019-07-08 18:15:18 +07:00
- cd ..
2019-10-04 05:24:59 -04:00
2019-07-08 16:58:06 +07:00
after_success:
2019-07-08 18:25:14 +07:00
- source tools/build_success.sh