[lxc-devel] [go-lxc/v2] test: add .travis.yml

brauner on Github lxc-bot at linuxcontainers.org
Wed Jul 12 10:36:42 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 365 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170712/30ba38ed/attachment.bin>
-------------- next part --------------
From 9af860e13be7de2b7b3f89e68731de3fc27fc008 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Wed, 12 Jul 2017 12:35:59 +0200
Subject: [PATCH] test: add .travis.yml

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 .travis.yml | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 .travis.yml

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..04d7d9b
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,33 @@
+language: go
+
+os:
+  - linux
+
+go:
+  - 1.6
+  - 1.7
+  - 1.8
+  - tip
+
+matrix:
+  fast_finish: true
+  allow_failures:
+    - go: tip
+
+before_install:
+ - sudo add-apt-repository ppa:ubuntu-lxc/daily -y
+ - sudo apt-get install -qq libapparmor-dev libcap-dev libseccomp-dev python3-dev python3-setuptools docbook2x libgnutls-dev liblua5.2-dev libselinux1-dev libcgmanager-dev liblxc1 lxc-dev
+
+install:
+  - go get gopkg.in/lxc/go-lxc.v2
+
+script:
+  - "make all"
+  - "make test"
+  - "make test-race"
+  - "make test-unprivileged"
+  - "make test-unprivileged-race"
+  - "make cover"
+
+notifications:
+  webhooks: https://linuxcontainers.org/webhook-lxcbot/


More information about the lxc-devel mailing list