aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
...
* Remove deprecated "--use-mirrors"Steven Myint2014-04-26
| | | | | | | In newer versions of `pip`, it is obsolete. See the following relevant links. https://pip.readthedocs.org/en/latest/news.html https://github.com/eddyxu/cpp-coveralls/pull/37
* Install the libncurses5-dev:i386 package to get the correct symlinks.John Szakmeister2014-04-23
|
* Fix clint.sh wrapper script and broken filesThiago de Arruda2014-04-22
| | | | | - Fixed clint.sh, it no longer ignores errors in individual files. - Fixed two files that weren't passing the clint test
* Configure travis to perform a 32-bit buildThiago de Arruda2014-04-22
| | | | | | | | - Build targeting 32-bit with travis - Code in `before_install`/`after_success` was moved to travis.sh since it provides greater flexibility for detecting the build matrix environment. This improves the build speed since we now install only what's necessary. - Now clint has a dedicated travis worker
* Configure travis to use prebuilt dependenciesThiago de Arruda2014-04-16
| | | | | | | | | Dependencies are now hosted in a github repository and this brings two advantages: - Improved build time with travis since we no longer have to build each dependency - Less chance of build errors due to external servers being down since Github is now the single point of failure
* Add `msgpack_rpc_dispatch`/metadata generatorThiago de Arruda2014-04-11
| | | | | | | | | | | | | | | | | | This adds a lua script which parses the contents of 'api.h'. After the api is parsed into a metadata table. After that, it will generate: - A msgpack blob for the metadata table. This msgpack object contains everything scripting engines need to generate their own wrappers for the remote API. - The `msgpack_rpc_dispatch` function, which takes care of validating msgpack requests, converting arguments to C types and passing control to the appropriate 'api.h' function. The result is then serialized back to msgpack and returned to the client. This approach was used because: - It automatically modifies `msgpack_rpc_dispatch` to reflect API changes. - Scripting engines that generate remote call wrappers using the msgpack metadata will also adapt automatically to API changes
* Run clint.py in some filesThiago de Arruda2014-04-08
|
* Force travis build failure when some test failsThiago de Arruda2014-04-03
|
* enable coveralls supportaph2014-04-01
|
* Use the clang 3.4 release tarball instead of apt for clang 3.4.John Szakmeister2014-03-30
| | | | | | | | | | It appears the llvm.org/apt/ repository isn't always reliable. So let's use the release tarball instead. Also, make using 3.4 conditional, so we can use the clang 3.3 if things still manage to go awry in the future. Note: using 3.3 means that we won't get leak detection. I left the logic for using llvm.org/apt/, just in case we want try using it again sometime.
* Drop the deb-src for clang.John Szakmeister2014-03-29
| | | | | The llvm.org/apt repo currently has an issue with the source packages, and we don't need it on Travis anyways.
* Don't use alias in travis.sh.John Szakmeister2014-03-27
| | | | | We don't want to clobber anyone's make alias when running travis.sh directly.
* Revamp the build system.John Szakmeister2014-03-21
| | | | | | | | | | | | | | | | | | | | | This achieves several goals: * Less reliance on scripts so we have better portability to Windows (though we still have a ways to go for proper Windows support). Luajit, luarocks, moonscript, and busted are all installed via CMake now. * Trying to make use of pkg-config to get the correct libraries. The latest libuv is still broken in this regard, but we'll at least be in a position to use it. * Allow the use of Ninja or make. The former runs faster in many environments, and automatically makes use of parallel builds. This also allows for system installed dependencies--though not through the Makefile just yet--and adds support for FreeBSD. This also make us build libuv and luajit as static libraries only, since we're only concerned about having static libraries for our bundled dependencies.
* Add unit tests for mch_[gs]etperm.Thomas Wienecke2014-03-15
| | | | | Use preprocessor trick proposed by @mahkoh to import 'defines' like S_IRUSR.
* Remove remaining hangul-related codeThiago de Arruda2014-03-14
|
* Refactor travis build to use clang's sanitizersThiago de Arruda2014-03-13
| | | | | | | | | | | - Valgrind configuration removed - Fix errors reported by the undefined behavior sanitizer - Travis will now run two build steps: - A normal build of a shared library for unit testing(in parallel with gcc) - A clang build with some sanitizers enabled for integration testing. After these changes travis will run much faster, while providing valgrind-like error detection.
* use more verbose output type for unittests on travisStefan Hoffmann2014-03-08
|
* Fix memory leak and enable valgrind on travisThiago de Arruda2014-03-07
|
* Luarocks appears to be down, so let's use the mirror for now.John Szakmeister2014-03-07
|
* Adding darwin platform to common.sh build scriptIslam Sharabash2014-03-01
|
* Add unit test running to travis againThiago de Arruda2014-02-27
|
* Compile libuv with -fPIC.John Szakmeister2014-02-27
| | | | | This is needed so that th unit tests library compiles on 64-bit machines correctly.
* Disable unit tests until fixed for travisThiago de Arruda2014-02-27
|
* Add more example unit tests and run with travisThiago de Arruda2014-02-27
|
* Add basic infrastructure for unit testingThiago de Arruda2014-02-27
| | | | | | | | | | | | | | | | | | Tests will be written using the [moonscript](http://moonscript.org/) language, a lua 'dialect' that is whitespace-significant and has a syntax similar to coffeescript. The test framework used is [busted](http://olivinelabs.com/busted/), a bdd framework for lua/moonscript. Luajit has a nice ffi module, which lets lua programs link shared libraries and call it's functions without writing any C code. To take advantage of this fact for testing C functions, a new target was added to CMakeLists.txt, which compiles neovim as a shared library that is loaded by the process running the tests. This commit adds necessary code for downloading and installing a lua package manager(luarocks) locally. It wasn't added as a subtree because there are quite a few blobs in its source tree.
* Enable stderr for test in travisThiago de Arruda2014-02-26
| | | | | This is necessary to keep the build from 'erroring' since running the tests with valgrind will take a long time
* Modify travis configuration to install valgrindThiago de Arruda2014-02-26
| | | | This should fix previous build failures
* Remove -e option from travis shell scriptThiago de Arruda2014-02-26
|
* Fix travis scriptThiago de Arruda2014-02-26
| | | | It was broke because the ls command failed when no valgrind.* file were found
* Add test reporting to travis scriptThiago de Arruda2014-02-26
|
* Enable valgrind when testing on travisThiago de Arruda2014-02-26
| | | | | This will slow down testing but will detect pull requests that introduce memory leaks.
* Add valgrind suppression fileThiago de Arruda2014-02-26
|
* Temporarily remove valgrind check in travis buildThiago de Arruda2014-02-26
|
* Add configuration to help debug memory leaksThiago de Arruda2014-02-26
|
* Merge branch 'bundle-libuv' of github.com:rjw57/neovim into rjw57-bundle-libuvThiago de Arruda2014-02-26
|\
| * get-libuv.sh: compile bundled libuvRich Wareham2014-02-24
| | | | | | | | | | Rename file to reflect new intent of script. Libuv is bundled into the third-party directory. Modify the script to compile but not fetch libuv.
* | silence tar when getting libuvash-lshift2014-02-25
| |
* | Silenced wget's progress barTheo Belaire2014-02-25
| | | | | | | | | | | | | | This way it won't show up in travis-ci like: 0% [ ] 0 --.-K/s 100%[======================================>] 371,453 --.-K/s
* | Added curl support and one testTheo Belaire2014-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now it checks for the existance of curl after failing to find wget. Note that I ended up removing the quotes around $url when referencing it in the call to wget, since urls can't have spaces anyways, and the correct quoting was messy. To test, I did rm -r .deps make clean make cmake make And it worked.
* | scripts/common.sh: remove a couple bashismsJohn Szakmeister2014-02-23
|/ | | | | This allows the scripts to work on systems that don't have /bin/bash as /bin/sh--such as Debian.
* First pass on getting build working on FreeBSD.Sean Long2014-02-22
|
* fix build on OSXaph2014-02-01
|
* Automate libuv download and buildThiago de Arruda2014-02-01