Add Travis CI support
authorAndres Gomez <agomez@igalia.com>
Wed, 1 Nov 2017 15:25:39 +0000 (17:25 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 20 Dec 2017 11:32:56 +0000 (06:32 -0500)
Provides optional integration with Travis CI for the GitHub's clone.

Change-Id: Ibd9158dbce51d93458ba59180e01983f3451917f

.gitignore
.travis.yml [new file with mode: 0644]

index a7a5af1..88d3be8 100644 (file)
@@ -5,3 +5,4 @@
 .*
 !.gitignore
 !.editorconfig
+!.travis.yml
diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..de8ff63
--- /dev/null
@@ -0,0 +1,49 @@
+language: c++
+
+sudo: required
+dist: trusty
+
+cache:
+  apt: true
+  ccache: true
+
+env:
+  global:
+    - MAKEFLAGS="-j4"
+
+matrix:
+  include:
+    - env:
+        - RECIPE="clang-64-debug"
+      addons:
+        apt:
+          sources:
+            - llvm-toolchain-trusty-3.9
+          packages:
+            - clang-3.9
+
+    - env:
+        - RECIPE="gcc-32-debug"
+      addons:
+        apt:
+          packages:
+            - g++-multilib
+
+    - env:
+        - RECIPE="gcc-64-release"
+
+    - env:
+        - RECIPE="android-mustpass"
+
+    - env:
+        - RECIPE="vulkan-mustpass"
+
+    - env:
+        - RECIPE="gen-inl-files"
+      addons:
+        apt:
+          packages:
+            - python-lxml
+
+script:
+  - python2 ./scripts/check_build_sanity.py -r $RECIPE