[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [mini-os master] Add travis.yml and travis-build script



commit 229260e02faacab0f4d5ccb82f013480d968d335
Author:     Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Mon Sep 5 15:43:21 2016 +0100
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Tue Sep 6 09:38:20 2016 +0100

    Add travis.yml and travis-build script
    
    Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    Acked-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
---
 .travis.yml          | 25 +++++++++++++++++++++++++
 scripts/travis-build |  5 +++++
 2 files changed, 30 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..9aa69a5
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+language: c
+dist: trusty
+sudo: required
+# don't test stable branches
+branches:
+    except:
+        - /^stable-.*/
+matrix:
+    include:
+        - compiler: gcc
+addons:
+    apt:
+        sources:
+            - ubuntu-toolchain-r-test
+        packages:
+            - libc6-dev-i386
+            - gcc-5
+            - g++-5
+# we must set CXX manually instead of using 'language: cpp' due to
+# travis-ci/travis-ci#3871
+before_script:
+    - export CXX=${CC/cc/++}
+    - export CXX=${CXX/clang/clang++}
+script:
+    - ./scripts/travis-build
diff --git a/scripts/travis-build b/scripts/travis-build
new file mode 100755
index 0000000..9480a9d
--- /dev/null
+++ b/scripts/travis-build
@@ -0,0 +1,5 @@
+#!/bin/bash -ex
+
+$CC --version
+
+make testbuild
--
generated by git-patchbot for /home/xen/git/mini-os.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.