2015-08-31 22:10:07 -07:00
|
|
|
language: cpp
|
2015-08-31 22:07:34 -07:00
|
|
|
|
2016-02-04 11:18:03 -08:00
|
|
|
cache: apt
|
|
|
|
|
2016-02-04 11:50:07 -08:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#portapack"
|
|
|
|
template:
|
|
|
|
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
|
|
|
|
- "Change view : %{compare_url}"
|
|
|
|
- "Build details : %{build_url}"
|
2016-02-04 12:04:17 -08:00
|
|
|
# TODO: The "build_number.1" in this URL is almost certainly wrong, but correct value not available from Travis?
|
2016-07-10 13:58:17 -07:00
|
|
|
- "Firmware download : https://portapack-h1-builds.s3.amazonaws.com/%{repository_slug}/%{build_number}/%{build_number}.1/build/firmware/portapack-h1-firmware-%{commit}.tar.bz2"
|
2016-02-04 11:50:07 -08:00
|
|
|
|
2017-08-06 22:49:05 -07:00
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa -y
|
|
|
|
- sudo apt-get update -q
|
|
|
|
- sudo apt-get install gcc-arm-embedded -y
|
2015-09-01 11:49:50 -07:00
|
|
|
|
2015-08-31 22:32:31 -07:00
|
|
|
script:
|
2015-09-01 15:07:31 -07:00
|
|
|
# TODO: Introduce top-level Makefile, this is lame.
|
2016-06-30 16:00:08 -07:00
|
|
|
- mkdir build/
|
|
|
|
- pushd build/
|
|
|
|
- cmake ..
|
2015-09-01 14:36:30 -07:00
|
|
|
- make release
|
2015-09-01 15:07:31 -07:00
|
|
|
- popd
|
2015-09-01 14:36:30 -07:00
|
|
|
|
|
|
|
addons:
|
2016-02-04 12:33:55 -08:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2017-07-25 08:30:12 +01:00
|
|
|
- $(ls build/firmware/portapack-h1-havoc-*.tar.bz2 | tr "\n" ":")
|
|
|
|
- $(ls build/firmware/portapack-h1-havoc-*.zip | tr "\n" ":")
|