tinyusb/.travis.yml.bck

35 lines
780 B
Plaintext
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-06-10 16:34:36 +07:00
before_script:
- wget -O /tmp/riscv-toolchain.tgz https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases/download/v8.3.0-1.1/xpack-riscv-none-embed-gcc-8.3.0-1.1-linux-x64.tgz
- tar -xzf /tmp/riscv-toolchain.tgz
- export PATH=$PWD/xPacks/riscv-none-embed-gcc/8.3.0-1.1/bin:$PATH
2019-06-10 16:50:23 +07:00
- arm-none-eabi-gcc --version
- riscv-none-embed-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-07-08 16:58:06 +07:00
after_success:
2019-07-08 18:25:14 +07:00
- source tools/build_success.sh