about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-x.travis.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100755
index 00000000..436a3cfa
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,21 @@
+language: c

+sudo: false

+arch:

+  - amd64

+  - arm64

+os: linux

+

+compiler:

+    - gcc

+

+#Build steps

+before_script:

+    - mkdir build

+    - cd build

+    - if [ $TRAVIS_CPU_ARCH = arm64 ]; then cmake .. -DRK3399=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo ;else cmake .. -DLD80BITS=1 -DNOALIGN=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo ; fi

+

+script:

+    - make

+

+after_script:

+    - ctest
\ No newline at end of file