portapack-mayhem/.travis.yml
2016-01-05 21:04:35 -08:00

26 lines
565 B
YAML

language: cpp
cache: apt
before_install:
- sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded -y
- sudo apt-get update -qq
- sudo apt-get install -y gcc-arm-none-eabi
before_script:
- 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
addons:
s3_region: "us-west-2"
artifacts:
paths:
- $(ls firmware/portapack-h1-firmware-*.tar.bz2 | tr "\n" ":")
- $(ls firmware/portapack-h1-firmware-*.zip | tr "\n" ":")