Mercurial > vim
annotate .travis.yml @ 15389:0351fa7879f9
Added tag v8.1.0702 for changeset 7444fffa482d44cf73d51dcef940e89f0719087b
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 07 Jan 2019 22:15:05 +0100 |
parents | 074c643ee78f |
children | d255018b40ff |
rev | line source |
---|---|
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 language: c |
11999
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
2 dist: trusty |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 |
9700
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
4 os: |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
5 - osx |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
6 - linux |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
7 |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 compiler: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 - clang |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 - gcc |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 env: |
14671
09b803bdd7ab
patch 8.1.0348: on Travis the slowest build is run last
Christian Brabandt <cb@256bit.org>
parents:
14241
diff
changeset
|
13 - BUILD=yes TEST=test COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
09b803bdd7ab
patch 8.1.0348: on Travis the slowest build is run last
Christian Brabandt <cb@256bit.org>
parents:
14241
diff
changeset
|
14 # ASAN build |
09b803bdd7ab
patch 8.1.0348: on Travis the slowest build is run last
Christian Brabandt <cb@256bit.org>
parents:
14241
diff
changeset
|
15 - BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer" |
09b803bdd7ab
patch 8.1.0348: on Travis the slowest build is run last
Christian Brabandt <cb@256bit.org>
parents:
14241
diff
changeset
|
16 FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt" |
09b803bdd7ab
patch 8.1.0348: on Travis the slowest build is run last
Christian Brabandt <cb@256bit.org>
parents:
14241
diff
changeset
|
17 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'" |
15170
3cd05af56fd1
patch 8.1.0595: libvterm tests are not run with coverage
Bram Moolenaar <Bram@vim.org>
parents:
14671
diff
changeset
|
18 - BUILD=yes TEST="scripttests test_libvterm" COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
14241
9abebf6e25c5
patch 8.1.0137: CI does not run with TCL
Christian Brabandt <cb@256bit.org>
parents:
13656
diff
changeset
|
19 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'" |
9700
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
20 - BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes |
9549
115bfecaeb88
commit https://github.com/vim/vim/commit/1a9f947cde3dbc802e186808242bbe097a4701c6
Christian Brabandt <cb@256bit.org>
parents:
9548
diff
changeset
|
21 - BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no |
115bfecaeb88
commit https://github.com/vim/vim/commit/1a9f947cde3dbc802e186808242bbe097a4701c6
Christian Brabandt <cb@256bit.org>
parents:
9548
diff
changeset
|
22 - BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
9700
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
23 # Mac OSX build |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
24 - BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
14241
9abebf6e25c5
patch 8.1.0137: CI does not run with TCL
Christian Brabandt <cb@256bit.org>
parents:
13656
diff
changeset
|
25 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'" |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
26 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
27 sudo: false |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
28 |
15170
3cd05af56fd1
patch 8.1.0595: libvterm tests are not run with coverage
Bram Moolenaar <Bram@vim.org>
parents:
14671
diff
changeset
|
29 # instead of a 2*2*7 matrix (2*os + 2*compiler + 7*env), |
9700
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
30 # exclude some builds on mac os x and linux |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
31 # linux: 2*compiler + 5*env + mac: 2*compiler + 2*env |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
32 matrix: |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
33 exclude: |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
34 - os: osx |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
35 env: BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
36 - os: osx |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
37 env: BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
38 - os: osx |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
39 env: BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
40 - os: osx |
15170
3cd05af56fd1
patch 8.1.0595: libvterm tests are not run with coverage
Bram Moolenaar <Bram@vim.org>
parents:
14671
diff
changeset
|
41 env: BUILD=yes TEST="scripttests test_libvterm" COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
14241
9abebf6e25c5
patch 8.1.0137: CI does not run with TCL
Christian Brabandt <cb@256bit.org>
parents:
13656
diff
changeset
|
42 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'" |
10698
a028413f6a26
patch 8.0.0239: no CI with an address sanitizer
Christian Brabandt <cb@256bit.org>
parents:
10509
diff
changeset
|
43 - os: osx |
11058
1448c8bd818f
patch 8.0.0418: ASAN logs are disabled
Christian Brabandt <cb@256bit.org>
parents:
10948
diff
changeset
|
44 env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer" |
11999
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
45 FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt" |
14241
9abebf6e25c5
patch 8.1.0137: CI does not run with TCL
Christian Brabandt <cb@256bit.org>
parents:
13656
diff
changeset
|
46 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'" |
10698
a028413f6a26
patch 8.0.0239: no CI with an address sanitizer
Christian Brabandt <cb@256bit.org>
parents:
10509
diff
changeset
|
47 - os: linux |
11999
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
48 compiler: clang |
11058
1448c8bd818f
patch 8.0.0418: ASAN logs are disabled
Christian Brabandt <cb@256bit.org>
parents:
10948
diff
changeset
|
49 env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer" |
11999
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
50 FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" LSAN_OPTIONS="suppressions=$TRAVIS_BUILD_DIR/src/testdir/lsan-suppress.txt" |
14241
9abebf6e25c5
patch 8.1.0137: CI does not run with TCL
Christian Brabandt <cb@256bit.org>
parents:
13656
diff
changeset
|
51 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'" |
9700
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
52 - os: linux |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
53 compiler: clang |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
54 env: BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
55 - os: linux |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
56 compiler: clang |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
57 env: BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
58 - os: linux |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
59 env: BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
14241
9abebf6e25c5
patch 8.1.0137: CI does not run with TCL
Christian Brabandt <cb@256bit.org>
parents:
13656
diff
changeset
|
60 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp --enable-tclinterp'" |
9700
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
61 |
7145
7669c1269190
commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents:
7121
diff
changeset
|
62 branches: |
7669c1269190
commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents:
7121
diff
changeset
|
63 except: |
7669c1269190
commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents:
7121
diff
changeset
|
64 - /^v[0-9]/ |
7669c1269190
commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents:
7121
diff
changeset
|
65 |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
66 addons: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
67 apt: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
68 packages: |
7397
7ec544daecd5
commit https://github.com/vim/vim/commit/7b5f0a15bce11754c47f849b2ddd68ba0909afac
Christian Brabandt <cb@256bit.org>
parents:
7385
diff
changeset
|
69 - autoconf |
12859
2893e4f08feb
patch 8.0.1306: ASAN error stack trace is not useful
Christian Brabandt <cb@256bit.org>
parents:
12618
diff
changeset
|
70 - clang |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
71 - lcov |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
72 - libperl-dev |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
73 - python-dev |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
74 - python3-dev |
11796
6b172a0a8207
patch 8.0.0780: build failure on Travis
Christian Brabandt <cb@256bit.org>
parents:
11244
diff
changeset
|
75 - liblua5.2-dev |
6b172a0a8207
patch 8.0.0780: build failure on Travis
Christian Brabandt <cb@256bit.org>
parents:
11244
diff
changeset
|
76 - lua5.2 |
11999
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
77 - ruby-dev |
14241
9abebf6e25c5
patch 8.1.0137: CI does not run with TCL
Christian Brabandt <cb@256bit.org>
parents:
13656
diff
changeset
|
78 - tcl-dev |
9742
0b0b9864c811
commit https://github.com/vim/vim/commit/472472898ab71ac80a86fedc37f8eb91461788dd
Christian Brabandt <cb@256bit.org>
parents:
9700
diff
changeset
|
79 - cscope |
11999
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
80 - libgtk2.0-dev |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
81 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
82 before_install: |
11999
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
83 - rvm reset |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
84 # Remove /opt/python/3.x.x/bin from $PATH for using system python3. |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
85 # ("pyenv global system" doesn't seem to work.) |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
86 - if [ "$TRAVIS_OS_NAME" = "linux" ] && which python3 | grep '/opt/python/' > /dev/null; then export PATH=$(echo $PATH | sed -e "s#$(echo $(which python3) | sed -e 's#/python3$##'):##"); fi |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
87 - if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls; fi |
10700
09fa2d7dc055
patch 8.0.0240: failure with one build on CI
Christian Brabandt <cb@256bit.org>
parents:
10698
diff
changeset
|
88 # needed for https support for coveralls |
09fa2d7dc055
patch 8.0.0240: failure with one build on CI
Christian Brabandt <cb@256bit.org>
parents:
10698
diff
changeset
|
89 # building cffi only works with gcc, not with clang |
09fa2d7dc055
patch 8.0.0240: failure with one build on CI
Christian Brabandt <cb@256bit.org>
parents:
10698
diff
changeset
|
90 - if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi |
9700
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
91 # Lua is not installed on Travis OSX |
12618
53ee2223fb0a
patch 8.0.1187: building with lua fails for OSX on Travis
Christian Brabandt <cb@256bit.org>
parents:
11999
diff
changeset
|
92 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then export HOMEBREW_NO_AUTO_UPDATE=1; brew update; brew install lua; export LUA_PREFIX=/usr/local; fi |
11999
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
93 # Use llvm-cov instead of gcov when compiler is clang. |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
94 - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CC" = "clang" ]; then ln -sf $(which llvm-cov) /home/travis/bin/gcov; fi |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
95 |
10371
2579df47c3b6
commit https://github.com/vim/vim/commit/b6be3ea45b3bb260d475ba63620252ce2963c560
Christian Brabandt <cb@256bit.org>
parents:
10365
diff
changeset
|
96 # Start virtual framebuffer to be able to test the GUI. Does not work on OS X. |
10365
0dd0c7fb1096
commit https://github.com/vim/vim/commit/e3505dfc858260a21f2bbc6056f5769dea2f273d
Christian Brabandt <cb@256bit.org>
parents:
9742
diff
changeset
|
97 before_script: |
10371
2579df47c3b6
commit https://github.com/vim/vim/commit/b6be3ea45b3bb260d475ba63620252ce2963c560
Christian Brabandt <cb@256bit.org>
parents:
10365
diff
changeset
|
98 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start && sleep 3; fi |
10365
0dd0c7fb1096
commit https://github.com/vim/vim/commit/e3505dfc858260a21f2bbc6056f5769dea2f273d
Christian Brabandt <cb@256bit.org>
parents:
9742
diff
changeset
|
99 |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
100 script: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
101 - NPROC=$(getconf _NPROCESSORS_ONLN) |
7397
7ec544daecd5
commit https://github.com/vim/vim/commit/7b5f0a15bce11754c47f849b2ddd68ba0909afac
Christian Brabandt <cb@256bit.org>
parents:
7385
diff
changeset
|
102 - if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi |
9549
115bfecaeb88
commit https://github.com/vim/vim/commit/1a9f947cde3dbc802e186808242bbe097a4701c6
Christian Brabandt <cb@256bit.org>
parents:
9548
diff
changeset
|
103 - if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi |
9551
232b8642ec32
commit https://github.com/vim/vim/commit/87776a1ac12db3c800e87adcc08541cb609189a5
Christian Brabandt <cb@256bit.org>
parents:
9550
diff
changeset
|
104 - (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi) |
11999
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
105 # Show Vim version and also if_xx versions. |
94e37fd22556
patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
11832
diff
changeset
|
106 - if [ "$BUILD" = "yes" ]; then ${SRCDIR}/vim --version; ${SRCDIR}/vim --not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-1.vim -c quit > /dev/null; ${SRCDIR}/vim --not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-2.vim -c quit > /dev/null; cat if_ver.txt; fi |
9549
115bfecaeb88
commit https://github.com/vim/vim/commit/1a9f947cde3dbc802e186808242bbe097a4701c6
Christian Brabandt <cb@256bit.org>
parents:
9548
diff
changeset
|
107 - make $SHADOWOPT $TEST |
12859
2893e4f08feb
patch 8.0.1306: ASAN error stack trace is not useful
Christian Brabandt <cb@256bit.org>
parents:
12618
diff
changeset
|
108 - if [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*' -size +0); do asan_symbolize < "$log"; err=1; done; fi |
11058
1448c8bd818f
patch 8.0.0418: ASAN logs are disabled
Christian Brabandt <cb@256bit.org>
parents:
10948
diff
changeset
|
109 - if [ -n "$err" ]; then exit 1; fi |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
110 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
111 after_success: |
15197
074c643ee78f
patch 8.1.0608: coverals is not updating
Bram Moolenaar <Bram@vim.org>
parents:
15170
diff
changeset
|
112 - if [ "$COVERAGE" = "yes" ]; then ~/.local/bin/coveralls -b ${SRCDIR} -x .xs -e ${SRCDIR}/if_perl.c -e ${SRCDIR}/xxd -e ${SRCDIR}/libvterm --encodings utf-8 latin-1 EUC-KR; fi |
13652
a87e16662e48
patch 8.0.1698: coverage statistics don't work on coveralls
Christian Brabandt <cb@256bit.org>
parents:
13648
diff
changeset
|
113 - if [ "$COVERAGE" = "yes" ]; then cd ${SRCDIR} && bash <(curl -s https://codecov.io/bash) ; fi |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
114 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
115 # vim:set sts=2 sw=2 tw=0 et: |