annotate .travis.yml @ 19774:00a1b89256ea v8.2.0443

patch 8.2.0443: clipboard code is spread out Commit: https://github.com/vim/vim/commit/45fffdf10b7cb6e59794e76e9b8a2930fcb4b192 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 24 21:42:01 2020 +0100 patch 8.2.0443: clipboard code is spread out Problem: Clipboard code is spread out. Solution: Move clipboard code to its own file. (Yegappan Lakshmanan, closes #5827)
author Bram Moolenaar <Bram@vim.org>
date Tue, 24 Mar 2020 21:45:04 +0100
parents c94c103e7cb4
children b6e641dc1de0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7121
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 language: c
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2
19655
7e75be5a3b74 patch 8.2.0384: Travis CI has warnings
Bram Moolenaar <Bram@vim.org>
parents: 19641
diff changeset
3 _anchors:
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
4 envs:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
5 - &tiny-nogui
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
6 BUILD=yes TEST=test FEATURES=tiny "CONFOPT='--disable-gui'" SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
7 - &tiny
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
8 BUILD=yes TEST=test FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
9 - &small
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
10 BUILD=yes TEST=test FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
11 - &normal
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
12 BUILD=yes TEST=test FEATURES=normal CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
13 - &linux-huge
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
14 BUILD=yes TEST="scripttests test_libvterm" CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
15 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
16 - &osx-huge # macOS build
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
17 BUILD=yes TEST=test FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
18 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'"
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
19 - &unittests
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
20 BUILD=no TEST=unittests CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
21 - &asan # ASAN build
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
22 SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
23 ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt"
19161
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
24 - &shadowopt
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
25 SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow
7121
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
26
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
27 linux: &linux
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
28 os: linux
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
29 dist: trusty
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
30 addons:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
31 apt:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
32 sources:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
33 # Need msgfmt 0.19.8 to be able to generate .desktop files
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
34 - sourceline: 'ppa:ricotz/toolchain'
19641
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
35 packages: &linux-packages
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
36 - autoconf
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
37 - clang
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
38 - lcov
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
39 - gettext
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
40 - libcanberra-dev
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
41 - libperl-dev
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
42 - python-dev
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
43 - python3-dev
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
44 - liblua5.2-dev
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
45 - lua5.2
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
46 - ruby-dev
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
47 - tcl-dev
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
48 - cscope
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
49 - libgtk2.0-dev
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
50 - desktop-file-utils
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
51 before_install:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
52 - rvm reset
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
53 # Remove /opt/python/3.x.x/bin from $PATH for using system python3.
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
54 # ("pyenv global system" doesn't seem to work.)
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
55 - |
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
56 if [[ "$(which python3)" =~ ^/opt/python/ ]]; then
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
57 export PATH=$(py3=$(which python3); echo ${PATH//${py3%/python3}:/})
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
58 fi
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
59 # Use llvm-cov instead of gcov when compiler is clang.
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
60 - |
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
61 if [[ "${CC}" = "clang" ]]; then
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
62 ln -sf "$(which llvm-cov)" /home/travis/bin/gcov
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
63 fi
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
64 before_script:
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
65 # Start virtual framebuffer to be able to test the GUI. For dists newer
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
66 # than trusty, the "services: xvfb" setting should be used instead
19641
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
67 - |
19669
c4062bd1ff4f patch 8.2.0391: CI test coverage dropped
Bram Moolenaar <Bram@vim.org>
parents: 19655
diff changeset
68 if [[ ${TRAVIS_DIST} = trusty ]]; then
19641
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
69 export DISPLAY=:99.0
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
70 sh -e /etc/init.d/xvfb start && sleep 3
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
71 fi
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
72 - sudo bash ci/load-snd-dummy.sh || true
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
73 - sudo usermod -a -G audio $USER
17290
5d09e015a367 patch 8.1.1644: sound test does not work on Travis
Bram Moolenaar <Bram@vim.org>
parents: 17239
diff changeset
74 - do_test() { sg audio "sg $(id -gn) '$*'"; }
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
75
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
76 osx: &osx
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
77 os: osx
19655
7e75be5a3b74 patch 8.2.0384: Travis CI has warnings
Bram Moolenaar <Bram@vim.org>
parents: 19641
diff changeset
78 before_script:
7e75be5a3b74 patch 8.2.0384: Travis CI has warnings
Bram Moolenaar <Bram@vim.org>
parents: 19641
diff changeset
79 - do_test() { "$@"; }
7e75be5a3b74 patch 8.2.0384: Travis CI has warnings
Bram Moolenaar <Bram@vim.org>
parents: 19641
diff changeset
80
7e75be5a3b74 patch 8.2.0384: Travis CI has warnings
Bram Moolenaar <Bram@vim.org>
parents: 19641
diff changeset
81 homebrew: &osx-homebrew
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
82 addons:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
83 homebrew:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
84 packages:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
85 - lua
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
86 update: true
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
87 cache:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
88 directories:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
89 - /usr/local/Homebrew/Library/Homebrew/vendor/
19655
7e75be5a3b74 patch 8.2.0384: Travis CI has warnings
Bram Moolenaar <Bram@vim.org>
parents: 19641
diff changeset
90 - /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
91 before_install:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
92 - rvm reset
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
93 # Lua is not installed on Travis OSX
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
94 - export LUA_PREFIX=/usr/local
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
95
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
96 coverage: &coverage
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
97 # needed for https support for coveralls building cffi only works with gcc,
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
98 # not with clang
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
99 - CC=gcc pip install --user cpp-coveralls pyopenssl ndg-httpsclient pyasn1
17853
c90ca5b9fc0d patch 8.1.1923: some source files are not in a normal encoding
Bram Moolenaar <Bram@vim.org>
parents: 17665
diff changeset
100 - ~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
101 - (cd "${SRCDIR}" && bash <(curl -s https://codecov.io/bash))
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
102
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
103 asan_symbolize: &asan_symbolize
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
104 - |
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
105 while read log; do
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
106 asan_symbolize < "${log}"
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
107 done < <(find . -type f -name 'asan.*' -size +0)
7121
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
108
7145
7669c1269190 commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents: 7121
diff changeset
109 branches:
7669c1269190 commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents: 7121
diff changeset
110 except:
7669c1269190 commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents: 7121
diff changeset
111 - /^v[0-9]/
7669c1269190 commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents: 7121
diff changeset
112
7121
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
113 script:
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
114 - NPROC=$(getconf _NPROCESSORS_ONLN)
16629
a1ca6778da49 patch 8.1.1317: output from Travis can be improved
Bram Moolenaar <Bram@vim.org>
parents: 16328
diff changeset
115 - set -o errexit
a1ca6778da49 patch 8.1.1317: output from Travis can be improved
Bram Moolenaar <Bram@vim.org>
parents: 16328
diff changeset
116 - echo -e "\\033[33;1mConfiguring Vim\\033[0m" && echo -en "travis_fold:start:configure\\r\\033[0K"
15723
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
117 - |
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
118 if [[ "${CHECK_AUTOCONF}" = "yes" ]] && [[ "${CC}" = "gcc" ]]; then
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
119 make -C src autoconf
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
120 fi
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
121 - |
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
122 if [[ -n "${SHADOWOPT}" ]]; then
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
123 make -C src shadow
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
124 fi
16629
a1ca6778da49 patch 8.1.1317: output from Travis can be improved
Bram Moolenaar <Bram@vim.org>
parents: 16328
diff changeset
125 # "./configure" changes its working directory into "$SRCDIR".
a1ca6778da49 patch 8.1.1317: output from Travis can be improved
Bram Moolenaar <Bram@vim.org>
parents: 16328
diff changeset
126 - ./configure --with-features=${FEATURES} ${CONFOPT} --enable-fail-if-missing
a1ca6778da49 patch 8.1.1317: output from Travis can be improved
Bram Moolenaar <Bram@vim.org>
parents: 16328
diff changeset
127 - echo -en "travis_fold:end:configure\\r\\033[0K"
a1ca6778da49 patch 8.1.1317: output from Travis can be improved
Bram Moolenaar <Bram@vim.org>
parents: 16328
diff changeset
128 - echo -e "\\033[33;1mBuilding Vim\\033[0m" && echo -en "travis_fold:start:build\\r\\033[0K"
15723
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
129 - |
16629
a1ca6778da49 patch 8.1.1317: output from Travis can be improved
Bram Moolenaar <Bram@vim.org>
parents: 16328
diff changeset
130 if [[ "${BUILD}" = "yes" ]]; then
15723
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
131 make ${SHADOWOPT} -j${NPROC}
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
132 fi
16629
a1ca6778da49 patch 8.1.1317: output from Travis can be improved
Bram Moolenaar <Bram@vim.org>
parents: 16328
diff changeset
133 - echo -en "travis_fold:end:build\\r\\033[0K"
a1ca6778da49 patch 8.1.1317: output from Travis can be improved
Bram Moolenaar <Bram@vim.org>
parents: 16328
diff changeset
134 - set +o errexit
15723
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
135 # Show Vim version and also if_xx versions.
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
136 - |
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
137 if [[ "${BUILD}" = "yes" ]]; then
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
138 "${SRCDIR}"/vim --version
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
139 "${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-1.vim -c quit
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
140 "${SRCDIR}"/vim -u NONE -i NONE --not-a-term -esNX -V1 -S ci/if_ver-2.vim -c quit
15723
bec05be6858a patch 8.1.0869: Travis CI script is too complicated
Bram Moolenaar <Bram@vim.org>
parents: 15667
diff changeset
141 fi
19161
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
142 - echo -e "\\033[33;1mTesting Vim\\033[0m" && echo -en "travis_fold:start:test\\r\\033[0K"
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
143 - do_test make ${SHADOWOPT} ${TEST} && FOLD_MARKER=travis_fold
17960
3504cf2c80a8 patch 8.1.1976: Travis log always shows test output
Bram Moolenaar <Bram@vim.org>
parents: 17853
diff changeset
144 - echo -en "${FOLD_MARKER}:end:test\\r\\033[0K"
17340
ce962e2644bf patch 8.1.1669: Travis: test results section is closed even when failed
Bram Moolenaar <Bram@vim.org>
parents: 17290
diff changeset
145
7121
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
146
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
147 # instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env),
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
148 # exclude some builds on mac os x and linux
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
149 # on mac os x "tiny" is always without GUI
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
150 # linux: 2*compiler + 5*env + mac: 2*compiler + 2*env
19655
7e75be5a3b74 patch 8.2.0384: Travis CI has warnings
Bram Moolenaar <Bram@vim.org>
parents: 19641
diff changeset
151 jobs:
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
152 include:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
153 - <<: *osx
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
154 name: tiny-nogui/clang
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
155 compiler: clang
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
156 env: *tiny-nogui
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
157 - <<: *osx
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
158 name: tiny-nogui/gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
159 compiler: gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
160 env: *tiny-nogui
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
161 - <<: *osx
19655
7e75be5a3b74 patch 8.2.0384: Travis CI has warnings
Bram Moolenaar <Bram@vim.org>
parents: 19641
diff changeset
162 <<: *osx-homebrew
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
163 name: huge/clang
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
164 compiler: clang
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
165 env: *osx-huge
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
166 - <<: *osx
19655
7e75be5a3b74 patch 8.2.0384: Travis CI has warnings
Bram Moolenaar <Bram@vim.org>
parents: 19641
diff changeset
167 <<: *osx-homebrew
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
168 name: huge/gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
169 compiler: gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
170 env: *osx-huge
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
171 - <<: *linux
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
172 name: tiny-nogui/clang
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
173 compiler: clang
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
174 env: *tiny-nogui
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
175 - <<: *linux
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
176 name: tiny-nogui/gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
177 compiler: gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
178 env: *tiny-nogui
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
179 - <<: *linux
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
180 name: tiny/clang
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
181 compiler: clang
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
182 env: *tiny
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
183 - <<: *linux
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
184 name: tiny/gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
185 compiler: gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
186 env: *tiny
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
187 - <<: *linux
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
188 name: small/gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
189 compiler: gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
190 env: *small
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
191 - <<: *linux
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
192 name: normal/clang
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
193 compiler: clang
19161
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
194 env:
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
195 - *normal
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
196 - *shadowopt
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
197 - <<: *linux
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
198 name: normal/gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
199 compiler: gcc
19161
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
200 env:
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
201 - *normal
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
202 - *shadowopt
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
203 - <<: *linux
19641
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
204 arch: s390x
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
205 name: huge/gcc-s390x
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
206 compiler: gcc
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents: 19669
diff changeset
207 env: *linux-huge
19641
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
208 addons:
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
209 apt:
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
210 packages:
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
211 - *linux-packages
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
212 - libtool-bin
73b2c928a8aa patch 8.2.0377: no CI test for a big-endian system
Bram Moolenaar <Bram@vim.org>
parents: 19189
diff changeset
213 - <<: *linux
17061
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
214 name: huge+coverage/clang
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
215 compiler: clang
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
216 env: *linux-huge
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
217 after_success: *coverage
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
218 - <<: *linux
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
219 name: huge+coverage/gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
220 compiler: gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
221 env: *linux-huge
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
222 after_success: *coverage
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
223 - <<: *linux
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
224 name: unittests+coverage/gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
225 compiler: gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
226 env: *unittests
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
227 after_success: *coverage
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
228 - <<: *linux # ASAN
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
229 name: huge+asan/gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
230 compiler: gcc
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
231 env:
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
232 - *linux-huge
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
233 - *asan
051a2f640a6e patch 8.1.1530: Travis config is not optimal
Bram Moolenaar <Bram@vim.org>
parents: 17014
diff changeset
234 after_failure: *asan_symbolize
17239
fceb0977275a patch 8.1.1619: tests are not run with GUI on Travis
Bram Moolenaar <Bram@vim.org>
parents: 17061
diff changeset
235 - <<: *linux
fceb0977275a patch 8.1.1619: tests are not run with GUI on Travis
Bram Moolenaar <Bram@vim.org>
parents: 17061
diff changeset
236 name: huge-testgui+coverage/gcc
fceb0977275a patch 8.1.1619: tests are not run with GUI on Travis
Bram Moolenaar <Bram@vim.org>
parents: 17061
diff changeset
237 compiler: gcc
fceb0977275a patch 8.1.1619: tests are not run with GUI on Travis
Bram Moolenaar <Bram@vim.org>
parents: 17061
diff changeset
238 env:
fceb0977275a patch 8.1.1619: tests are not run with GUI on Travis
Bram Moolenaar <Bram@vim.org>
parents: 17061
diff changeset
239 - *linux-huge
fceb0977275a patch 8.1.1619: tests are not run with GUI on Travis
Bram Moolenaar <Bram@vim.org>
parents: 17061
diff changeset
240 - TEST="-C src testgui"
fceb0977275a patch 8.1.1619: tests are not run with GUI on Travis
Bram Moolenaar <Bram@vim.org>
parents: 17061
diff changeset
241 after_success: *coverage
19161
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
242 - <<: *linux
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
243 name: vimtags/gcc
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
244 compiler: gcc
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
245 env:
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
246 - *normal
27ff44268da5 patch 8.2.0140: CI does not test building doc tags
Bram Moolenaar <Bram@vim.org>
parents: 18487
diff changeset
247 - TEST="-C runtime/doc vimtags VIMEXE=../../${SRCDIR}/vim"
7121
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
248
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
249 # vim:set sts=2 sw=2 tw=0 et: