Browse Source

Adding a file for Travis CI

Nicola Spanti (RyDroid) 4 years ago
parent
commit
5c85db69d2
1 changed files with 24 additions and 0 deletions
  1. 24 0
      .travis.yml

+ 24 - 0
.travis.yml

@@ -0,0 +1,24 @@
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided this notice is
+# preserved.  This file is offered as-is, without any warranty.
+# Names of contributors must not be used to endorse or promote products
+# derived from this file without specific prior written permission.
+
+# See YAML format https://en.wikipedia.org/wiki/YAML
+# See Travis CI (Continuous Integration) https://docs.travis-ci.com/
+
+
+language: c
+
+os:
+  - linux
+
+addons:
+  apt:
+    packages:
+      - cmake
+
+script:
+  - make toolchain
+  - make -C target_firmware
+  - make -C target_firmware clean