Explorar el Código

Add Travis CI integration.

tags/v0.99.beta20
Sam Hocevar hace 9 años
padre
commit
06f3bf04e9
Se han modificado 3 ficheros con 41 adiciones y 0 borrados
  1. +31
    -0
      .travis.yml
  2. +7
    -0
      .travis/before_install.sh
  3. +3
    -0
      Makefile.am

+ 31
- 0
.travis.yml Ver fichero

@@ -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 fichero

@@ -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 fichero

@@ -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:

Cargando…
Cancelar
Guardar