man: remove authors section from tool's man pages
[vis.git] / .travis.yml
blobabb40093a1334681c1314479d8eb55f5c0429f58
1 language: c
3 matrix:
4   include:
5     - os: linux
6       compiler: gcc
7       env: TARGET=
8     - os: linux
9       compiler: gcc
10       env: TARGET=debug
11     - os: linux
12       compiler: gcc
13       env: TARGET=coverage
14     - os: linux
15       compiler: clang
16       env: TARGET=
17     - os: linux
18       compiler: clang
19       env: TARGET=debug
20     - os: osx
21       compiler: clang
22       env: TARGET=
23     - os: osx
24       compiler: clang
25       env: TARGET=debug
26     - os: osx
27       compiler: clang
28       env: TARGET=coverage
30 addons:
31   apt:
32     packages:
33     - 9base
35 cache:
36   directories:
37     - $HOME/.cache/vis
39 before_install:
40   - mkdir -p "$HOME/.cache/vis/sources" && mkdir dependency && ln -s "$HOME/.cache/vis/sources" dependency/sources
42 install:
43   - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
44       brew update &&
45       brew install libtermkey &&
46       brew install lua &&
47       luarocks install lpeg;
48       if [ "$TARGET" = "coverage" ]; then
49         brew install plan9port;
50       fi
51     fi
53 script:
54   - id
55   - env
56   - locale
57   - tty || true
58   - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
59       ./configure && make $TARGET;
60     else
61       make local && make clean && make $TARGET;
62     fi
63   - file vis
64   - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
65       otool -L vis;
66     else
67       ldd vis;
68     fi
69   - size vis
70   - LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" ./vis -v
71   - LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" make -C test/core $TARGET
72   - LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" make -C test/lua
73   - LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" make -C test/vis
74   - LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" make -C test/sam
75   - LD_LIBRARY_PATH="$(pwd)/dependency/install/usr/lib" make -C test/vim
77 after_success:
78   - if [ "$TARGET" = "coverage" ]; then
79       bash <(curl -s https://codecov.io/bash);
80     fi