Merge pull request #309 from hishamhm/travis-ci

Integrate Travis-CI
This commit is contained in:
Hisham Muhammad 2015-11-20 15:59:54 -02:00
commit 5521094b1e
3 changed files with 26 additions and 5 deletions

11
.travis.yml Normal file
View File

@ -0,0 +1,11 @@
language: c
compiler:
- clang
- gcc
os:
- linux
- osx
script: ./autogen.sh && ./configure && make

View File

@ -2,9 +2,15 @@
What's new in version 1.0.4 What's new in version 1.0.4
* Platform abstraction layer * Platform abstraction layer
* Prototype FreeBSD support * Initial FreeBSD support
* Initial Mac OS X support * Initial Mac OS X support
(thanks to David Hunt) (thanks to David Hunt)
* Swap meter for Mac OSX
(thanks to Ștefan Rusu)
* OpenBSD port
(thanks to Michael McConville)
* FreeBSD support improvements
(thanks to Martin Misuth)
* Support for NCurses 6 ABI, including mouse wheel support * Support for NCurses 6 ABI, including mouse wheel support
* Much improved mouse responsiveness * Much improved mouse responsiveness
* Higher-resolution UTF-8 based Graph mode * Higher-resolution UTF-8 based Graph mode
@ -14,6 +20,8 @@ What's new in version 1.0.4
* BUGFIX: Fix crash when scrolling an empty filtered list. * BUGFIX: Fix crash when scrolling an empty filtered list.
* Use dynamic units for text display, and several fixes * Use dynamic units for text display, and several fixes
(thanks to Christian Hesse) (thanks to Christian Hesse)
* BUGFIX: fix error caused by overflow in usertime calculation.
(thanks to Patrick Marlier)
* Several tweaks and bugfixes * Several tweaks and bugfixes
(See the Git log for details and contributors!) (See the Git log for details and contributors!)

View File

@ -146,13 +146,15 @@ fi
AC_ARG_ENABLE(unicode, [AC_HELP_STRING([--enable-unicode], [enable Unicode support])], ,enable_unicode="yes") AC_ARG_ENABLE(unicode, [AC_HELP_STRING([--enable-unicode], [enable Unicode support])], ,enable_unicode="yes")
if test "x$enable_unicode" = xyes; then if test "x$enable_unicode" = xyes; then
AC_CHECK_LIB([ncursesw6], [refresh], [ AC_CHECK_LIB([ncursesw6], [addnwstr], [
AC_DEFINE(HAVE_LIBNCURSESW, 1, []) AC_DEFINE(HAVE_LIBNCURSESW, 1, [])
LIBS="-lncursesw6 $LIBS " LIBS="-lncursesw6 $LIBS "
], [ ], [
AC_CHECK_LIB([ncursesw], [refresh], [], [ AC_CHECK_LIB([ncursesw], [addnwstr], [], [
missing_libraries="$missing_libraries libncursesw" AC_CHECK_LIB([ncurses], [addnwstr], [], [
AC_MSG_ERROR([You may want to use --disable-unicode or install libncursesw.]) missing_libraries="$missing_libraries libncursesw"
AC_MSG_ERROR([You may want to use --disable-unicode or install libncursesw.])
])
]) ])
]) ])
AC_CHECK_HEADERS([ncursesw/curses.h],[:], AC_CHECK_HEADERS([ncursesw/curses.h],[:],