annotate .travis.yml @ 9713:058e5ea0400e v7.4.2132

commit https://github.com/vim/vim/commit/31440a1f2b6ae8a2f7ffdd4a8a3661eadc4df23c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 30 23:14:28 2016 +0200 patch 7.4.2132 Problem: test_partial has memory leaks reported. Solution: Add a note about why this happens.
author Christian Brabandt <cb@256bit.org>
date Sat, 30 Jul 2016 23:15:06 +0200
parents 15ade5d67a0e
children 0b0b9864c811
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
9700
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
3 os:
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
4 - osx
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
5 - linux
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
6
7121
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 compiler:
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 - clang
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 - gcc
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 env:
9554
d32c969007f9 commit https://github.com/vim/vim/commit/2cb70a2744d484d1b2005be0fd0ea7d6a94a8db7
Christian Brabandt <cb@256bit.org>
parents: 9551
diff changeset
12 - 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
13 "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
14 - 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
15 - 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
16 - 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
17 - 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
18 # Mac OSX build
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
19 - 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
20 "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
21
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
22 sudo: false
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
23
9700
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
24 git:
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
25 depth: 1
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
26
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
27 # instead of a 6*2*2 matrix (2*os + 2*compiler + 6*env),
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
28 # 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
29 # 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
30 matrix:
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
31 exclude:
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
32 - os: osx
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
33 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
34 - os: osx
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
35 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
36 - os: osx
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
37 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
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=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
40 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'"
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
41 - os: linux
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
42 compiler: clang
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
43 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
44 - os: linux
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
45 compiler: clang
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
46 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
47 - os: linux
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
48 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
49 "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
50
7145
7669c1269190 commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents: 7121
diff changeset
51 branches:
7669c1269190 commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents: 7121
diff changeset
52 except:
7669c1269190 commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents: 7121
diff changeset
53 - /^v[0-9]/
7669c1269190 commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents: 7121
diff changeset
54
7121
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
55 addons:
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
56 apt:
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
57 packages:
7397
7ec544daecd5 commit https://github.com/vim/vim/commit/7b5f0a15bce11754c47f849b2ddd68ba0909afac
Christian Brabandt <cb@256bit.org>
parents: 7385
diff changeset
58 - autoconf
7121
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
59 - lcov
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
60 - libperl-dev
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
61 - python-dev
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
62 - python3-dev
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
63 - liblua5.1-0-dev
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
64 - lua5.1
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
65
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
66 before_install:
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
67 - pip install --user cpp-coveralls
9700
15ade5d67a0e commit https://github.com/vim/vim/commit/b20617b0b0d15523961618717d6cd2195674c363
Christian Brabandt <cb@256bit.org>
parents: 9554
diff changeset
68 # 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
69 - 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
70
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
71 script:
a497a9868255 commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
72 - NPROC=$(getconf _NPROCESSORS_ONLN)
7397
7ec544daecd5 commit https://github.com/vim/vim/commit/7b5f0a15bce11754c47f849b2ddd68ba0909afac
Christian Brabandt <cb@256bit.org>
parents: 7385
diff changeset
73 - 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
74 - 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
75 - (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
76 - if [ "$BUILD" = "yes" ]; then ${SRCDIR}/vim --version; fi
9549
115bfecaeb88 commit https://github.com/vim/vim/commit/1a9f947cde3dbc802e186808242bbe097a4701c6
Christian Brabandt <cb@256bit.org>
parents: 9548
diff changeset
77 - make $SHADOWOPT $TEST
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 after_success:
9551
232b8642ec32 commit https://github.com/vim/vim/commit/87776a1ac12db3c800e87adcc08541cb609189a5
Christian Brabandt <cb@256bit.org>
parents: 9550
diff changeset
80 - 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
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 # vim:set sts=2 sw=2 tw=0 et: