Commit Graph

20 Commits

Author SHA1 Message Date
Florian Walch
75335f01a0 Travis: Remove Coverity build.
Coverity is now handled by neovim/bot-ci.
2014-11-16 20:39:24 +01:00
Thiago de Arruda
9615258d1a travis: Test nvim --version in gcc build
The --version flag drives Nvim to take a different code path, which is worth
testing. Now we do it in the "gcc" ci target(It will only fail if the exit code
is different than 0)
2014-11-03 21:51:51 -03:00
Thiago de Arruda
b320904382 travis: Force travis build to fail when core files are dumped 2014-11-03 21:51:44 -03:00
Thiago de Arruda
9e41dd07e4 travis: Make sure valgrind report is shown on test failures 2014-10-29 23:33:10 -03:00
Thiago de Arruda
97f0c1eda1 travis: Force verification of DLOG macros
We use INFO as the default log level, which leaves code inside DLOG macros
unverified(currently it has compilation errors).

Decrease the log level on travis builds for automatic verification in PRs.
2014-10-22 11:26:36 -03:00
Thiago de Arruda
276ac99350 travis: Remove install_functional_test_deps function
It is no longer needed after the lua client was added as dependency
(@69561ea922ae6789703c06cbc245929d7c625db9)
2014-10-21 11:07:13 -03:00
Thiago de Arruda
0c2ec77ae0 test: Use lua to perform sanity API checks
Sanity API checks made by the python-client in the api-python travis target were
converted to lua and will now live in this repository. This will simplify
performing breaking changes to the API as it won't be necessary to send parallel
PRs the python-client.
2014-10-16 14:06:54 -03:00
Thiago de Arruda
93a45ccc25 travis: Fix clang-asan to always display memory errors
Always check the logs in case of test failures(which would happen when ASAN
finds an error since it will abort Nvim).

Also run the 'oldtest' target from the gcc-32.sh script
2014-10-01 21:42:00 -03:00
Thiago de Arruda
911acd22d8 travis: Refactor {valgrind,asan}_check functions
Put all logic into the `check_logs` function and use the `find` command to avoid
having to deal with empty directory errors when globbing files.
2014-09-30 17:39:13 -03:00
Thiago de Arruda
42d5b526b9 test: Replace vroom by lua/busted for functional tests
The 'lupa' python package provides a simple way to seamless integrate lua and
python code.

This commit replaces vroom by a python script that exposes the 'neovim' package
to a lua state, and invokes busted to run functional tests. This is a temporary
solution that will enable writing functional tests using lua/bused while a lua
client library is not available.

The reason for dropping vroom is flexibility: Lua/busted has a nice DSL-style
syntax while also providing the customization power of a full programming
language. Another reason is to use a single framework for unit/functional tests.

Two other changes were performed in this commit:

- Instead of "gcc-unittest/gcc-ia32", the travis builds for gcc are now
  identified by "gcc/gcc-32". They will run unit/functional tests for both 64
  and 32 bits.
- Old integration tests(in src/nvim/testdir) are now ran by the 'oldtest' target
2014-09-30 17:37:16 -03:00
Thiago de Arruda
2a67b847aa build/test: install vroom/python-client from the master branch 2014-09-12 13:50:07 -03:00
Thiago de Arruda
af61a286b2 main: Rename --embedded-mode and --api-msgpack-metadata options
--embedded-mode        -> --embed
--api-msgpack-metadata -> --api-info
2014-09-12 13:25:28 -03:00
Justin M. Keyes
042aca6eb4 Merge pull request #1098 from fwalch/update-busted
Update busted to version 2.
2014-09-12 09:54:10 -04:00
Florian Walch
0a01b3052e Update busted to 2.0.rc3.
Default to verbose output to show more information in case of errors.
Fix #1031.
2014-09-11 20:03:35 +02:00
Florian Walch
579e0baba0 Travis: Add subdirectories to dependency paths. 2014-09-11 19:54:00 +02:00
Thiago de Arruda
887446a038 Fix environment variable for triggering embedded tests
NVIM should be used for all technical identifiers and this was changed in
the python-client
2014-08-29 22:08:58 -03:00
Thiago de Arruda
dd90dbeeba test: Run tests in embedded mode on travis 2014-08-28 14:19:19 -03:00
Pavel Platto
3af741c087 Travis-CI: fix "Could not find compiler" in clang-asan 2014-08-13 09:40:51 +03:00
Thiago de Arruda
a032fc2cca build/test: setup vroom installation on travis 2014-08-09 15:11:04 -03:00
Thiago de Arruda
6483a198e4 Travis CI: Refactor travis script
To simplify modification/inclusion of continuous integration targets, this
removes travis.sh which contains a big if statement in favor of multiple scripts
under the new '.ci' directory.
2014-08-08 06:06:10 -04:00