summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAmir Hammad <amir.hammad@hotmail.com>2016-09-03 17:55:44 +0200
committerAmir Hammad <amir.hammad@hotmail.com>2016-09-11 13:31:34 +0200
commit1d08641a15eef8fb0590113c96e3f985f7e32a23 (patch)
treedd6ea7d93ccd9530e10f2d63a643e09e8a9b32cd /.travis.yml
parent3d68ea280790351d0320fc4e712c51b820a5522a (diff)
downloadsecure-hid-1d08641a15eef8fb0590113c96e3f985f7e32a23.tar.gz
secure-hid-1d08641a15eef8fb0590113c96e3f985f7e32a23.tar.bz2
secure-hid-1d08641a15eef8fb0590113c96e3f985f7e32a23.zip
Added travis.yml
and badge Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f453c85
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,17 @@
+language: c
+compiler:
+ - gcc
+before_install:
+ - sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
+ - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 6D1D8367A3421AFB
+ - sudo apt-get update -o Dir::Etc::sourcelist="sources.list.d/terry_guo-gcc-arm-embedded-precise.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
+ - sudo apt-get install gcc-arm-none-eabi
+script:
+ - cd build && cmake $FLAGS_matrix .. && make
+
+env:
+ matrix:
+ - FLAGS_matrix="-DUSE_USART_DEBUG=FALSE -DUSE_STM32F4_HS=TRUE -DUSE_STM32F4_FS=TRUE"
+ - FLAGS_matrix="-DUSE_USART_DEBUG=TRUE -DUSE_STM32F4_HS=TRUE -DUSE_STM32F4_FS=TRUE"
+ - FLAGS_matrix="-DUSE_USART_DEBUG=TRUE -DUSE_STM32F4_HS=FALSE -DUSE_STM32F4_FS=TRUE"
+ - FLAGS_matrix="-DUSE_USART_DEBUG=TRUE -DUSE_STM32F4_HS=TRUE -DUSE_STM32F4_FS=FALSE"