[lxc-devel] [go-lxc/v2] make travis happy

caglar10ur on Github lxc-bot at linuxcontainers.org
Wed Dec 26 23:24:35 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 351 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20181226/b053389c/attachment.bin>
-------------- next part --------------
From 754f3fbc47145a1cbb8b961844f932d1c016c36f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= <caglar at 10ur.org>
Date: Wed, 26 Dec 2018 14:53:13 -0800
Subject: [PATCH] make travis happy
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
---
 .travis.yml | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 5e054c0..f343679 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,10 +4,12 @@ os:
   - linux
 
 go:
-  - 1.6
-  - 1.7
-  - 1.8
-  - 1.9
+  - "1.6"
+  - "1.7"
+  - "1.8"
+  - "1.9"
+  - "1.10"
+  - "1.11"
   - tip
 
 matrix:
@@ -18,19 +20,16 @@ matrix:
 before_install:
  - sudo add-apt-repository ppa:ubuntu-lxc/daily -y
  - sudo apt-get update
- - sudo apt-get install -qq lxc lxc-dev uidmap
+ - sudo apt-get install -qq lxc lxc-dev uidmap busybox
  - echo "${USER}:100000:65536" | sudo tee /etc/subuid
  - echo "${USER}:100000:65536" | sudo tee /etc/subgid
  - echo "${USER} veth lxcbr0 10" | sudo tee -a /etc/lxc/lxc-usernet
- - mkdir -p ~/.config/lxc/
- - cp /etc/lxc/default.conf ~/.config/lxc/default.conf
- - echo "lxc.idmap = u 0 100000 65536" | sudo tee -a ~/.config/lxc/default.conf
- - echo "lxc.idmap = g 0 100000 65536" | sudo tee -a ~/.config/lxc/default.conf
+ - mkdir -p ${HOME}/.config/lxc/
+ - cp /etc/lxc/default.conf ${HOME}/.config/lxc/default.conf
+ - echo "lxc.id_map = u 0 100000 65536" | sudo tee -a ${HOME}/.config/lxc/default.conf
+ - echo "lxc.id_map = g 0 100000 65536" | sudo tee -a ${HOME}/.config/lxc/default.conf
  - "make setup-test-cgroup"
- - mkdir -p ~/.local/share
- - chmod +x ~/.local/share
- - chmod +x ~/.local/
- - chmod +x ${HOME}
+ - mkdir -p ${HOME}/.local/share/lxc
 
 install:
   - go get gopkg.in/lxc/go-lxc.v2


More information about the lxc-devel mailing list