mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-10 16:49:36 +00:00
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
language: cpp
|
|
|
|
before_script:
|
|
- 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
|
|
- export PATH=$PWD/gcc-arm-none-eabi-5_2-2015q4/bin:$PATH
|
|
- export CC="arm-none-eabi-gcc"
|
|
- export CXX="arm-none-eabi-g++"
|
|
|
|
script:
|
|
# TODO: Introduce top-level Makefile, this is lame.
|
|
- pushd firmware/
|
|
- make release
|
|
- popd
|
|
|
|
after_script:
|
|
- echo ########################################################################
|
|
- echo
|
|
- echo Correct download URL is:
|
|
- echo https://portapack-h1-builds.s3.amazonaws.com/$TRAVIS_REPO_SLUG/$TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER/firmware/portapack-h1-firmware-$TRAVIS_COMMIT.tar.bz2
|
|
- echo
|
|
- echo ########################################################################
|
|
|
|
addons:
|
|
apt_packages:
|
|
- lib32bz2-1.0
|
|
- lib32ncurses5
|
|
- lib32z1
|
|
artifacts:
|
|
paths:
|
|
- $(ls firmware/portapack-h1-firmware-*.tar.bz2 | tr "\n" ":")
|
|
- $(ls firmware/portapack-h1-firmware-*.zip | tr "\n" ":")
|