vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 40f83aeea39867c3e097609629c895050062f15b parent ca17f01829d779272e84f5878c13637002b7a9bc Author: Marc André Tanner <mat@brain-dump.org> Date: Thu, 3 Nov 2016 22:22:01 +0100 build: add automated Mac OS X builds via Travis CI Diffstat:
| M | .travis.yml | | | 40 | +++++++++++++++++++++++++++++++++++++--- |
1 file changed, 37 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -1,7 +1,41 @@ language: c + +os: + - linux + - osx + compiler: - gcc + - clang + env: - - CFLAGS= - - CFLAGS="-Wextra -Wno-missing-field-initializers -Wno-unused-parameter" -script: make local + - TARGET= + - TARGET=debug + +install: + - if [ "$TRAVIS_OS_NAME" = "osx" ]; then + brew update && + brew install libtermkey && + brew install lua && + luarocks install lpeg; + fi + +script: + - id + - env + - locale + - tty || true + - if [ "$TRAVIS_OS_NAME" = "osx" ]; then + ./configure && make $TARGET; + else + make local && make clean && make $TARGET; + fi + - file vis + - if [ "$TRAVIS_OS_NAME" = "osx" ]; then + otool -L vis; + else + ldd vis; + fi + - size vis + - LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" ./vis -v + - LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" make test