Mercurial > vim
annotate .travis.yml @ 11966:08cca31b0fb9
Added tag v8.0.0863 for changeset a932d3da41c8846dca1e4f6ab4f872618506be95
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 05 Aug 2017 14:15:05 +0200 |
parents | dbce4b707386 |
children | 94e37fd22556 |
rev | line source |
---|---|
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 language: c |
11808
71659235b859
Switch travis back to precise temporarily
Christian Brabandt <cb@256bit.org>
parents:
11796
diff
changeset
|
2 # trusty still has a few problems, use precise until they are solved. |
71659235b859
Switch travis back to precise temporarily
Christian Brabandt <cb@256bit.org>
parents:
11796
diff
changeset
|
3 dist: precise |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 |
9700
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
5 os: |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
6 - osx |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
7 - linux |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
8 |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 compiler: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 - clang |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 - gcc |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 env: |
9554
d32c969007f9
commit https://github.com/vim/vim/commit/2cb70a2744d484d1b2005be0fd0ea7d6a94a8db7
Christian Brabandt <cb@256bit.org>
parents:
9551
diff
changeset
|
14 - BUILD=yes TEST=scripttests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'" |
9700
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
16 - 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
|
17 - 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
|
18 - BUILD=yes TEST=test COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
115bfecaeb88
commit https://github.com/vim/vim/commit/1a9f947cde3dbc802e186808242bbe097a4701c6
Christian Brabandt <cb@256bit.org>
parents:
9548
diff
changeset
|
19 - BUILD=yes TEST=test COVERAGE=no FEATURES=tiny 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
|
20 # Mac OSX build |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
21 - BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
22 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'" |
10698
a028413f6a26
patch 8.0.0239: no CI with an address sanitizer
Christian Brabandt <cb@256bit.org>
parents:
10509
diff
changeset
|
23 # ASAN build |
11058
1448c8bd818f
patch 8.0.0418: ASAN logs are disabled
Christian Brabandt <cb@256bit.org>
parents:
10948
diff
changeset
|
24 - BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer" |
1448c8bd818f
patch 8.0.0418: ASAN logs are disabled
Christian Brabandt <cb@256bit.org>
parents:
10948
diff
changeset
|
25 FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" |
10698
a028413f6a26
patch 8.0.0239: no CI with an address sanitizer
Christian Brabandt <cb@256bit.org>
parents:
10509
diff
changeset
|
26 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'" |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
27 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
28 sudo: false |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
29 |
10698
a028413f6a26
patch 8.0.0239: no CI with an address sanitizer
Christian Brabandt <cb@256bit.org>
parents:
10509
diff
changeset
|
30 # instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env), |
9700
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
31 # 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
|
32 # 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
|
33 matrix: |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
34 exclude: |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
35 - os: osx |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
36 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
|
37 - os: osx |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
38 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
|
39 - os: osx |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
40 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
|
41 - os: osx |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
42 env: BUILD=yes TEST=scripttests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
43 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'" |
10698
a028413f6a26
patch 8.0.0239: no CI with an address sanitizer
Christian Brabandt <cb@256bit.org>
parents:
10509
diff
changeset
|
44 - os: osx |
11058
1448c8bd818f
patch 8.0.0418: ASAN logs are disabled
Christian Brabandt <cb@256bit.org>
parents:
10948
diff
changeset
|
45 env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer" |
1448c8bd818f
patch 8.0.0418: ASAN logs are disabled
Christian Brabandt <cb@256bit.org>
parents:
10948
diff
changeset
|
46 FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" |
10698
a028413f6a26
patch 8.0.0239: no CI with an address sanitizer
Christian Brabandt <cb@256bit.org>
parents:
10509
diff
changeset
|
47 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'" |
a028413f6a26
patch 8.0.0239: no CI with an address sanitizer
Christian Brabandt <cb@256bit.org>
parents:
10509
diff
changeset
|
48 - os: linux |
a028413f6a26
patch 8.0.0239: no CI with an address sanitizer
Christian Brabandt <cb@256bit.org>
parents:
10509
diff
changeset
|
49 compiler: gcc |
11058
1448c8bd818f
patch 8.0.0418: ASAN logs are disabled
Christian Brabandt <cb@256bit.org>
parents:
10948
diff
changeset
|
50 env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer" |
1448c8bd818f
patch 8.0.0418: ASAN logs are disabled
Christian Brabandt <cb@256bit.org>
parents:
10948
diff
changeset
|
51 FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" |
10698
a028413f6a26
patch 8.0.0239: no CI with an address sanitizer
Christian Brabandt <cb@256bit.org>
parents:
10509
diff
changeset
|
52 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'" |
9700
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
53 - os: linux |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
54 compiler: clang |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
55 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
|
56 - os: linux |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
57 compiler: clang |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
58 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
|
59 - os: linux |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
60 env: BUILD=yes TEST=test COVERAGE=no FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
61 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'" |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
62 |
7145
7669c1269190
commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents:
7121
diff
changeset
|
63 branches: |
7669c1269190
commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents:
7121
diff
changeset
|
64 except: |
7669c1269190
commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents:
7121
diff
changeset
|
65 - /^v[0-9]/ |
7669c1269190
commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents:
7121
diff
changeset
|
66 |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
67 addons: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
68 apt: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
69 packages: |
7397
7ec544daecd5
commit https://github.com/vim/vim/commit/7b5f0a15bce11754c47f849b2ddd68ba0909afac
Christian Brabandt <cb@256bit.org>
parents:
7385
diff
changeset
|
70 - autoconf |
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 |
9742
0b0b9864c811
commit https://github.com/vim/vim/commit/472472898ab71ac80a86fedc37f8eb91461788dd
Christian Brabandt <cb@256bit.org>
parents:
9700
diff
changeset
|
77 - cscope |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
78 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
79 before_install: |
11832
dbce4b707386
patch 8.0.0796: no coverage on Travis with clang
Christian Brabandt <cb@256bit.org>
parents:
11811
diff
changeset
|
80 - if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls==0.3.12; fi |
10700
09fa2d7dc055
patch 8.0.0240: failure with one build on CI
Christian Brabandt <cb@256bit.org>
parents:
10698
diff
changeset
|
81 # 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
|
82 # 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
|
83 - 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
|
84 # Lua is not installed on Travis OSX |
15ade5d67a0e
commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents:
9554
diff
changeset
|
85 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install lua; export LUA_PREFIX=/usr/local; fi |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
86 |
10371
2579df47c3b6
commit https://github.com/vim/vim/commit/b6be3ea45b3bb260d475ba63620252ce2963c560
Christian Brabandt <cb@256bit.org>
parents:
10365
diff
changeset
|
87 # 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
|
88 before_script: |
10371
2579df47c3b6
commit https://github.com/vim/vim/commit/b6be3ea45b3bb260d475ba63620252ce2963c560
Christian Brabandt <cb@256bit.org>
parents:
10365
diff
changeset
|
89 - 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
|
90 |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
91 script: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
92 - NPROC=$(getconf _NPROCESSORS_ONLN) |
7397
7ec544daecd5
commit https://github.com/vim/vim/commit/7b5f0a15bce11754c47f849b2ddd68ba0909afac
Christian Brabandt <cb@256bit.org>
parents:
7385
diff
changeset
|
93 - 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
|
94 - 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
|
95 - (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi) |
232b8642ec32
commit https://github.com/vim/vim/commit/87776a1ac12db3c800e87adcc08541cb609189a5
Christian Brabandt <cb@256bit.org>
parents:
9550
diff
changeset
|
96 - if [ "$BUILD" = "yes" ]; then ${SRCDIR}/vim --version; fi |
11058
1448c8bd818f
patch 8.0.0418: ASAN logs are disabled
Christian Brabandt <cb@256bit.org>
parents:
10948
diff
changeset
|
97 - if [ -n "$ASAN_OPTIONS" ]; then export PATH=/usr/lib/llvm-$(clang -v 2>&1 | sed -n 's/.*version \([1-9]\.[0-9][0-9]*\).*/\1/p')/bin:$PATH; fi |
9549
115bfecaeb88
commit https://github.com/vim/vim/commit/1a9f947cde3dbc802e186808242bbe097a4701c6
Christian Brabandt <cb@256bit.org>
parents:
9548
diff
changeset
|
98 - make $SHADOWOPT $TEST |
11058
1448c8bd818f
patch 8.0.0418: ASAN logs are disabled
Christian Brabandt <cb@256bit.org>
parents:
10948
diff
changeset
|
99 - if [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*' -size +0); do cat "$log"; err=1; done; fi |
1448c8bd818f
patch 8.0.0418: ASAN logs are disabled
Christian Brabandt <cb@256bit.org>
parents:
10948
diff
changeset
|
100 - 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
|
101 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
102 after_success: |
9551
232b8642ec32
commit https://github.com/vim/vim/commit/87776a1ac12db3c800e87adcc08541cb609189a5
Christian Brabandt <cb@256bit.org>
parents:
9550
diff
changeset
|
103 - if [ "$COVERAGE" = "yes" ]; then ~/.local/bin/coveralls -b $SRCDIR -x .xs -e ${SRCDIR}/xxd -e ${SRCDIR}/if_perl.c --encodings utf-8 latin-1 EUC-KR; fi |
11244
d9077ce382a8
patch 8.0.0508: Coveralls no longer shows per-file coverage
Christian Brabandt <cb@256bit.org>
parents:
11058
diff
changeset
|
104 - 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
|
105 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
106 # vim:set sts=2 sw=2 tw=0 et: |