2015-09-01 05:10:07 +00:00
|
|
|
language: cpp
|
2015-09-01 05:07:34 +00:00
|
|
|
|
2015-09-01 05:58:11 +00:00
|
|
|
cache: apt
|
|
|
|
|
|
|
|
before_install:
|
2016-02-04 17:14:12 +00:00
|
|
|
# - sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded -y
|
|
|
|
# - sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
|
2015-09-01 05:51:06 +00:00
|
|
|
- sudo apt-get update -qq
|
2016-02-04 17:14:12 +00:00
|
|
|
# - sudo apt-get install -y gcc-arm-none-eabi
|
|
|
|
# - sudo apt-get install -y gcc-arm-embedded
|
2015-09-01 05:07:34 +00:00
|
|
|
|
2015-09-01 18:49:50 +00:00
|
|
|
before_script:
|
|
|
|
- export CC="arm-none-eabi-gcc"
|
|
|
|
- export CXX="arm-none-eabi-g++"
|
|
|
|
|
2016-02-04 17:14:12 +00:00
|
|
|
install:
|
|
|
|
- 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
|
|
|
|
- tar -xf gcc-arm-none-eabi-5_2-2015q4-20151219-linux.tar.bz2
|
2016-02-04 17:30:25 +00:00
|
|
|
- export PATH="$TRAVIS_BUILD_DIR/gcc-arm-none-eabi-5_2-2015q4/bin:$PATH"
|
2016-02-04 17:14:12 +00:00
|
|
|
|
2015-09-01 05:32:31 +00:00
|
|
|
script:
|
2015-09-01 22:07:31 +00:00
|
|
|
# TODO: Introduce top-level Makefile, this is lame.
|
2016-02-04 17:30:25 +00:00
|
|
|
- ls -l
|
2015-09-01 22:07:31 +00:00
|
|
|
- pushd firmware/
|
2015-09-01 21:36:30 +00:00
|
|
|
- make release
|
2015-09-01 22:07:31 +00:00
|
|
|
- popd
|
2015-09-01 21:36:30 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- $(ls firmware/portapack-h1-firmware-*.tar.bz2 | tr "\n" ":")
|
|
|
|
- $(ls firmware/portapack-h1-firmware-*.zip | tr "\n" ":")
|