summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-09-15 19:18:18 +0200
committerBram Moolenaar <Bram@vim.org>2015-09-15 19:18:18 +0200
commit0600f3511c6018cbcdb170a904bcf6533a06bf2d (patch)
treeee36908d3fdc54e119e7daf85ffe8eda09b58f7f /.travis.yml
parent7b256fe7445b46929f660ea74e9090418f857696 (diff)
downloadvim-git-0600f3511c6018cbcdb170a904bcf6533a06bf2d.tar.gz
patch 7.4.872v7.4.872
Problem: Not using CI services available. Solution: Add configuration files for travis and appveyor. (PR #401)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..b8210ca9e
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,37 @@
+language: c
+
+compiler:
+ - clang
+ - gcc
+
+env:
+ - COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge
+ "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'"
+ - COVERAGE=no FEATURES=small CONFOPT=
+ - COVERAGE=no FEATURES=tiny CONFOPT=
+
+sudo: false
+
+addons:
+ apt:
+ packages:
+ - lcov
+ - libperl-dev
+ - python-dev
+ - python3-dev
+ - liblua5.1-0-dev
+ - lua5.1
+
+before_install:
+ - pip install --user cpp-coveralls
+
+script:
+ - NPROC=$(getconf _NPROCESSORS_ONLN)
+ - ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && make -j$NPROC
+ - ./src/vim --version
+ - make test
+
+after_success:
+ - if [ x"$COVERAGE" = "xyes" ]; then ~/.local/bin/coveralls -b src -x .xs -e src/xxd -e src/if_perl.c --encodings utf-8 latin-1 EUC-KR; fi
+
+# vim:set sts=2 sw=2 tw=0 et: