]> code.delx.au - gnu-emacs-elpa/commitdiff
3rd travis try via el-get
authorrocky <rocky@gnu.org>
Fri, 14 Feb 2014 19:29:42 +0000 (14:29 -0500)
committerrocky <rocky@gnu.org>
Fri, 14 Feb 2014 19:29:42 +0000 (14:29 -0500)
.travis.yml
configure.ac

index d396f9e58c39dc3dcdac9c700a389f94cfd2d9a7..ad6ec9b31611b3e9e89a2afd0b96b87034412345 100644 (file)
@@ -2,6 +2,7 @@ language: emacs-lisp
 
 env:
   - EMACS=emacs24
+  - NO_CHECK_EMACS_PACKAGES=1
 
 # run the tests
 script:
index 1e8accbec53f1debf61d133361c4e16a2a049425..50590482c63a7e8d60ce411db210a6bca4a48b01 100644 (file)
@@ -8,17 +8,26 @@ AC_PATH_PROG([EMACS], [emacs], [emacs])
 AC_ARG_WITH(emacs, AC_HELP_STRING([--with-emacs],
                   [location of emacs program]), EMACS=$withval)
 
-AC_MSG_NOTICE("Checking emacs version and prerequiste packages")
+AC_MSG_NOTICE("Checking emacs version")
 $EMACS -batch -q --no-site-file -eval \
   '(if (<= emacs-major-version 22)
        (progn
          (error "You need GNU Emacs 23 or better.")
          (kill-emacs 1)
        )
-     (dolist (package
+   )'
+if test $? -ne 0 ; then
+    AC_MSG_ERROR([Can't continue until above error is corrected.])
+fi
+
+if test "$NO_CHECK_EMACS_PACKAGES" = "" ; then
+AC_MSG_NOTICE("Checking prerequiste packages")
+$EMACS -batch -q --no-site-file -eval \
+  '(dolist (package
          (quote (cl-lib loc-changes load-relative test-simple)))
         (require package))
    )'
+fi
 if test $? -ne 0 ; then
     AC_MSG_ERROR([Can't continue until above error is corrected.])
 fi