2015-09-01 01:10:07 -04:00
|
|
|
language: cpp
|
2015-09-01 01:07:34 -04:00
|
|
|
|
2015-09-01 01:58:11 -04:00
|
|
|
cache: apt
|
|
|
|
|
2015-09-01 14:49:50 -04:00
|
|
|
before_script:
|
2016-02-04 12:37:46 -05:00
|
|
|
- wget https://launchpad.net/gcc-arm-embedded/5.0/5-2015-q4-major/+download/gcc-arm-none-eabi-5_2-2015q4-20151219-linux.tar.bz2 -O /tmp/gcc-arm.tar.bz2
|
|
|
|
- tar -xf /tmp/gcc-arm.tar.bz2
|
2016-02-04 12:44:24 -05:00
|
|
|
- export PATH=$PWD/gcc-arm-none-eabi-5_2-2015q4/bin:$PATH
|
2015-09-01 14:49:50 -04:00
|
|
|
- export CC="arm-none-eabi-gcc"
|
|
|
|
- export CXX="arm-none-eabi-g++"
|
|
|
|
|
2015-09-01 01:32:31 -04:00
|
|
|
script:
|
2015-09-01 18:07:31 -04:00
|
|
|
# TODO: Introduce top-level Makefile, this is lame.
|
2016-02-04 12:58:04 -05:00
|
|
|
- ls -l /home/travis/build/sharebrained/portapack-hackrf
|
|
|
|
- ls -l /home/travis/build/sharebrained/portapack-hackrf/gcc-arm-none-eabi-5_2-2015q4/bin
|
2016-02-04 12:55:27 -05:00
|
|
|
- /home/travis/build/sharebrained/portapack-hackrf/gcc-arm-none-eabi-5_2-2015q4/bin/arm-none-eabi-gcc -v
|
|
|
|
- arm-none-eabi-gcc -v
|
2015-09-01 18:07:31 -04:00
|
|
|
- pushd firmware/
|
2015-09-01 17:36:30 -04:00
|
|
|
- make release
|
2015-09-01 18:07:31 -04:00
|
|
|
- popd
|
2015-09-01 17:36:30 -04:00
|
|
|
|
|
|
|
addons:
|
2016-02-04 13:23:56 -05:00
|
|
|
apt_packages:
|
|
|
|
- lib32bz2-1.0
|
|
|
|
- lib32ncurses5
|
|
|
|
- lib32z1
|
2015-09-01 17:36:30 -04:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- $(ls firmware/portapack-h1-firmware-*.tar.bz2 | tr "\n" ":")
|
|
|
|
- $(ls firmware/portapack-h1-firmware-*.zip | tr "\n" ":")
|