emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot e1d7ff3 09/24: Disable file-watching tests on Tra


From: João Távora
Subject: [elpa] externals/eglot e1d7ff3 09/24: Disable file-watching tests on Travis
Date: Sat, 26 May 2018 14:31:14 -0400 (EDT)

branch: externals/eglot
commit e1d7ff30f9ad1a65d61571756c320ba3ab8c5993
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Disable file-watching tests on Travis
    
    For some reason it doesn't work very well with inotify.
    
    * .travis.yml (TRAVIS_TESTING): Set to true
    
    * eglot-tests.el (rls-watches-files): skip test if TRAVIS_TESTING is
      true.
---
 .travis.yml    | 2 +-
 eglot-tests.el | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 9b0a6d8..60a97fc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,7 @@ rust:
 
 env:
   global:
-    - EGLOT_TESTING=t # For kicks, so I don't forget this syntax
+    - TRAVIS_TESTING=t
   matrix:
     - EMACS_VERSION=26-prerelease
 
diff --git a/eglot-tests.el b/eglot-tests.el
index 84b09f5..0ab5481 100644
--- a/eglot-tests.el
+++ b/eglot-tests.el
@@ -229,6 +229,7 @@ Pass TIMEOUT to `eglot--with-timeout'."
   "Start RLS server.  Notify it when a critical file changes."
   (skip-unless (executable-find "rls"))
   (skip-unless (executable-find "cargo"))
+  (skip-unless (null (getenv "TRAVIS_TESTING")))
   (let ((eglot-autoreconnect 1))
     (eglot--with-dirs-and-files
         '(("project" . (("coiso.rs" . "bla")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]