Adjust Travis for CMake system.

This commit is contained in:
Jared Boone 2016-06-30 16:00:08 -07:00
parent f4c897946b
commit 946d45b31c

View File

@ -22,7 +22,9 @@ before_script:
script: script:
# TODO: Introduce top-level Makefile, this is lame. # TODO: Introduce top-level Makefile, this is lame.
- pushd firmware/ - mkdir build/
- pushd build/
- cmake ..
- make release - make release
- popd - popd
@ -33,5 +35,5 @@ addons:
- lib32z1 - lib32z1
artifacts: artifacts:
paths: paths:
- $(ls firmware/portapack-h1-firmware-*.tar.bz2 | tr "\n" ":") - $(ls build/firmware/portapack-h1-firmware-*.tar.bz2 | tr "\n" ":")
- $(ls firmware/portapack-h1-firmware-*.zip | tr "\n" ":") - $(ls build/firmware/portapack-h1-firmware-*.zip | tr "\n" ":")