Mercurial > vim
annotate .travis.yml @ 8372:ce791ff9e0da v7.4.1478
commit https://github.com/vim/vim/commit/1bdd42627d619258d0e847f217cfc1c2795f1ac5
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 3 14:23:10 2016 +0100
patch 7.4.1478
Problem: ":loadplugin" doesn't take care of ftdetect files.
Solution: Also load ftdetect scripts when appropriate.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 03 Mar 2016 14:30:04 +0100 |
parents | 8d09c2ce1825 |
children | 8e797fc5ab0c |
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 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 compiler: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 - clang |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 - gcc |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 env: |
7486
8d09c2ce1825
commit https://github.com/vim/vim/commit/47707f6f34007dd803c75addbbd578fd37a74a92
Christian Brabandt <cb@256bit.org>
parents:
7397
diff
changeset
|
8 - COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'" |
7397
7ec544daecd5
commit https://github.com/vim/vim/commit/7b5f0a15bce11754c47f849b2ddd68ba0909afac
Christian Brabandt <cb@256bit.org>
parents:
7385
diff
changeset
|
10 CHECK_AUTOCONF=yes |
7486
8d09c2ce1825
commit https://github.com/vim/vim/commit/47707f6f34007dd803c75addbbd578fd37a74a92
Christian Brabandt <cb@256bit.org>
parents:
7397
diff
changeset
|
11 - COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no |
7397
7ec544daecd5
commit https://github.com/vim/vim/commit/7b5f0a15bce11754c47f849b2ddd68ba0909afac
Christian Brabandt <cb@256bit.org>
parents:
7385
diff
changeset
|
12 - COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
7ec544daecd5
commit https://github.com/vim/vim/commit/7b5f0a15bce11754c47f849b2ddd68ba0909afac
Christian Brabandt <cb@256bit.org>
parents:
7385
diff
changeset
|
13 - COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 sudo: false |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 |
7145
7669c1269190
commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents:
7121
diff
changeset
|
17 branches: |
7669c1269190
commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents:
7121
diff
changeset
|
18 except: |
7669c1269190
commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents:
7121
diff
changeset
|
19 - /^v[0-9]/ |
7669c1269190
commit https://github.com/vim/vim/commit/c1d20998d71f3fa0aebeeee42007a337cd7e3d8a
Christian Brabandt <cb@256bit.org>
parents:
7121
diff
changeset
|
20 |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
21 addons: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
22 apt: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
23 packages: |
7397
7ec544daecd5
commit https://github.com/vim/vim/commit/7b5f0a15bce11754c47f849b2ddd68ba0909afac
Christian Brabandt <cb@256bit.org>
parents:
7385
diff
changeset
|
24 - autoconf |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
25 - lcov |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
26 - libperl-dev |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
27 - python-dev |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
28 - python3-dev |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
29 - liblua5.1-0-dev |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
30 - lua5.1 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
31 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
32 before_install: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
33 - pip install --user cpp-coveralls |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
34 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
35 script: |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
36 - NPROC=$(getconf _NPROCESSORS_ONLN) |
7397
7ec544daecd5
commit https://github.com/vim/vim/commit/7b5f0a15bce11754c47f849b2ddd68ba0909afac
Christian Brabandt <cb@256bit.org>
parents:
7385
diff
changeset
|
37 - if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi |
7385
160f4b03d8d0
commit https://github.com/vim/vim/commit/4c7bb12c82914307e6bbb73d95cfb3ba7189813a
Christian Brabandt <cb@256bit.org>
parents:
7145
diff
changeset
|
38 - if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi && (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && make -j$NPROC) |
160f4b03d8d0
commit https://github.com/vim/vim/commit/4c7bb12c82914307e6bbb73d95cfb3ba7189813a
Christian Brabandt <cb@256bit.org>
parents:
7145
diff
changeset
|
39 - ${SRCDIR}/vim --version |
160f4b03d8d0
commit https://github.com/vim/vim/commit/4c7bb12c82914307e6bbb73d95cfb3ba7189813a
Christian Brabandt <cb@256bit.org>
parents:
7145
diff
changeset
|
40 - make $SHADOWOPT test |
7121
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
41 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
42 after_success: |
7385
160f4b03d8d0
commit https://github.com/vim/vim/commit/4c7bb12c82914307e6bbb73d95cfb3ba7189813a
Christian Brabandt <cb@256bit.org>
parents:
7145
diff
changeset
|
43 - if [ x"$COVERAGE" = "xyes" ]; 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
|
44 |
a497a9868255
commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
45 # vim:set sts=2 sw=2 tw=0 et: |