[tor-commits] [sbws/maint-1.1] fix: CI: Cache pip, run tox stats after sucess

juga at torproject.org juga at torproject.org
Sun Feb 9 19:19:47 UTC 2020


commit d61bfd79aecd4a497bc85a07f1417c3ef8124342
Author: juga0 <juga at riseup.net>
Date:   Wed Feb 5 14:24:35 2020 +0000

    fix: CI: Cache pip, run tox stats after sucess
    
    and do not require sudo.
---
 .travis.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 550ee4c..13b3c3a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,10 @@ language: python
 # But we add this line to show the python version in the Travis UI
 python: "3.6"
 
+sudo: false
+
+cache: pip
+
 env:
   matrix:
     ## This matrix entry is required, but it doesn't actually create any jobs
@@ -135,6 +139,9 @@ script:
   # - tox -e doclinks
   - tox -e clean
 
+after_success:
+  # gather Python coverage
+  - tox -e stats
 
 notifications:
   irc:





More information about the tor-commits mailing list