[lxc-devel] [pylxd/master] Fix travis run for coverage

rockstar on Github lxc-bot at linuxcontainers.org
Wed May 25 23:36:35 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 302 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160525/2291f9e1/attachment.bin>
-------------- next part --------------
From 9c9aa974962dd9ad8b644c92904cdb739c971e26 Mon Sep 17 00:00:00 2001
From: Paul Hummer <paul at eventuallyanyway.com>
Date: Wed, 25 May 2016 17:36:19 -0600
Subject: [PATCH] Fix travis run.

---
 .travis.yml | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 5fa99d7..7db3b12 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,6 @@
 language: python
 python:
-- "3.5"
+  - "2.7"
 env:
   matrix:
   - TOXENV=py27
@@ -9,13 +9,14 @@ env:
   # - TOXENV=integration # requires a remote lxd setup
 
 install:
-- travis_retry pip install tox
+  - travis_retry pip install tox
+  - pip install codecov
 script:
-- tox
-- test -d .tox/$TOXENV/log && cat .tox/$TOXENV/log/*.log || true
+  - tox
+  - test -d .tox/$TOXENV/log && cat .tox/$TOXENV/log/*.log || true
 cache:
   directories:
-  - .tox/$TOXENV
-  - $HOME/.cache/pip
+    - .tox/$TOXENV
+    - $HOME/.cache/pip
 after_success:
-  - bash <(curl -s https://codecov.io/bash)
+  - codecov


More information about the lxc-devel mailing list