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

[Minios-devel] [MINIOS PATCH] Add travis.yml and travis-build script



Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
See:
https://travis-ci.org/liuw/mini-os/builds/157653746

Cc: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Cc: Juergen Gross <jgross@xxxxxxxx>
Cc: Doug Goldstein <cardoe@xxxxxxxxxx>

IRC notification is not yet set up.

Doug, can we mirror mini-os.git to github/xen-project as well? I think
it would also be a good idea to post notification to #xentest.
---
 .travis.yml          | 25 +++++++++++++++++++++++++
 scripts/travis-build |  5 +++++
 2 files changed, 30 insertions(+)
 create mode 100644 .travis.yml
 create mode 100755 scripts/travis-build

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
-- 
2.1.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

 


Rackspace

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