diff src/testdir/if_ver-1.vim @ 11999:94e37fd22556 v8.0.0880

patch 8.0.0880: Travis uses an old Ubuntu version commit https://github.com/vim/vim/commit/02113ed4dfa585b4553a7c630b4d7eed0002aebd Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 6 17:06:24 2017 +0200 patch 8.0.0880: Travis uses an old Ubuntu version Problem: Travis uses an old Ubuntu version. Solution: Switch from precise to trusty. (Ken Takata, closes https://github.com/vim/vim/issues/1897)
author Christian Brabandt <cb@256bit.org>
date Sun, 06 Aug 2017 17:15:04 +0200
parents
children
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/src/testdir/if_ver-1.vim
@@ -0,0 +1,26 @@
+" Print all interface versions and write the result into if_ver.txt.
+" For Ubuntu. Part 1.
+
+redir! > if_ver.txt
+if 1
+  echo "*** Interface versions ***"
+  echo "\nLua:"
+  lua print(_VERSION)
+  " echo "\nLuaJIT:"
+  " lua print(jit.version)
+  if has('mzscheme')
+    echo "\nMzScheme:"
+    mzscheme (display (version))
+  endif
+  echo "\nPerl:"
+  perl print $^V
+  echo "\nRuby:"
+  ruby print RUBY_VERSION
+  if has('tcl')
+    echo "\nTcl:"
+    tcl puts [info patchlevel]
+  endif
+  echo "\nPython 2:"
+  python import sys; print sys.version
+endif
+redir END