22 env: TARGET= CONFIG=--disable-curses
25 env: TARGET= CONFIG=--disable-lua
28 env: TARGET= CONFIG=--disable-tre
37 env: TARGET= CONFIG=--disable-curses
40 env: TARGET= CONFIG=--disable-lua
43 env: TARGET= CONFIG=--disable-tre
58 - mkdir -p "$HOME/.cache/vis/sources" && mkdir dependency && ln -s "$HOME/.cache/vis/sources" dependency/sources
61 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
63 brew install libtermkey lua luarocks tre &&
64 luarocks install lpeg &&
65 luarocks install busted;
73 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then
74 make local && make clean;
76 - ./configure CFLAGS="-I$(pwd)/dependency/install/usr/include" LDFLAGS="-L$(pwd)/dependency/install/usr/lib" $CONFIG
77 - make CFLAGS_EXTRA=--coverage $TARGET
79 LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" ./vis -v;
82 if [ "$TRAVIS_OS_NAME" = "osx" ]; then
88 - make -C test/core coverage
89 - test ! -e vis || LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" make -C test/lua
90 - test ! -e vis || LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" make -C test/vis
91 - test ! -e vis || LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" make -C test/sam
92 - test ! -e vis || LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" make -C test/vim
95 - bash <(curl -s https://codecov.io/bash)