浏览代码

Add Travis CI integration.

tags/v0.99.beta20
Sam Hocevar 9 年前
父节点
当前提交
06f3bf04e9
共有 3 个文件被更改,包括 41 次插入0 次删除
  1. +31
    -0
      .travis.yml
  2. +7
    -0
      .travis/before_install.sh
  3. +3
    -0
      Makefile.am

+ 31
- 0
.travis.yml 查看文件

@@ -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 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存