[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] fixup! Travis: rewrite stem's CI based on the latest chutney CI



commit 2b61bbd05eab184591ca63f83cc59781ca58fd98
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Fri May 24 15:17:04 2019 +1000

    fixup! Travis: rewrite stem's CI based on the latest chutney CI
    
    Add extra macOS documentation, and fix the macOS tor version.
---
 .travis.yml | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a3d0d4c3..2b6ba37e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,11 +13,19 @@ matrix:
   # we use tor master to catch tor issues before stable releases
   # the key(s) in each item override these defaults
   include:
-    ## Test macOS
-    ## Tweak the language to work around a Travis macOS python install bug
+    ## macOS on Travis is tricky:
+    ##   - We use the default python version on macOS, which is currently 2.7.
+    ##     (But we don't show the version, because Travis might change it
+    ##     without us noticing.)
+    ##   - We use language: c, because language: python fails on Travis macOS.
+    ##   - We get the tor version in the homebrew cache on the macOS image.
+    ##     The latest tor version in homebrew is on this page:
+    ##       https://formulae.brew.sh/formula/tor
+    ##     The Travis version might be slightly older.
     - os: osx
       language: c
       python:
+      env: TOR="stable-release"
 
     ## Test all supported and available tor versions on Linux
     ## If the deb.torproject.org repositories are removed, we will fall back to



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits