Ver código fonte

Add Travis CI integration.

tags/v0.99.beta20
Sam Hocevar 9 anos atrás
pai
commit
06f3bf04e9
3 arquivos alterados com 41 adições e 0 exclusões
  1. +31
    -0
      .travis.yml
  2. +7
    -0
      .travis/before_install.sh
  3. +3
    -0
      Makefile.am

+ 31
- 0
.travis.yml Ver arquivo

@@ -0,0 +1,31 @@
sudo: false
language: c
env: VERBOSE=1

addons:
apt:
packages:
- build-essential
- pkg-config
- libncursesw5-dev
- libslang2-dev
- libx11-dev
- libimlib2-dev
- freeglut3-dev
# FIXME: disable this for now, as it just outputs garbage
#- texlive-fonts-recommended
#- doxygen-latex
- ruby1.8-dev

before_install:
- .travis/before_install.sh
- ./bootstrap

os:
- linux
- osx

compiler:
- gcc
- clang


+ 7
- 0
.travis/before_install.sh Ver arquivo

@@ -0,0 +1,7 @@
#!/bin/sh

if brew --version 2>/dev/null 2>&1; then
# FIXME: no ncurses formula for now; also add ruby
brew install slang doxygen
fi


+ 3
- 0
Makefile.am Ver arquivo

@@ -30,6 +30,9 @@ update-fonts: tools/makefont
tools/makefont mono9 "Monospace 9" 96 4 >| $(srcdir)/caca/mono9.data
tools/makefont monobold12 "Monospace Bold 12" 96 4 >| $(srcdir)/caca/monobold12.data

# Travis CI uses “make test” instead of “make check”
test: check

echo-dirs: ; echo caca kernel src cxx examples ruby python tools

FORCE:

Carregando…
Cancelar
Salvar