From e44504ebf154d69972f45f881daaaca282ff2d55 Mon Sep 17 00:00:00 2001 From: Valerii Iatsko Date: Wed, 10 Feb 2016 00:00:30 +0100 Subject: [PATCH] Add .travis.yml --- .travis.yml | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 6 +++--- 2 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..bd5d36c0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,59 @@ +# Travis-CI Build for charybdis +# see travis-ci.org for details + +language: c + +# Use the faster container-based infrastructure. +sudo: false + +matrix: + include: + - os: linux + compiler: gcc + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['gcc-4.8'] + env: COMPILER=gcc-4.8 + + - os: linux + compiler: gcc + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['gcc-4.9'] + env: COMPILER=gcc-4.9 + + - os: linux + compiler: gcc + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['gcc-5'] + env: COMPILER=gcc-5 + + - os: linux + compiler: clang + addons: + apt: + sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7'] + packages: ['clang-3.7'] + env: COMPILER=clang-3.7 + + - os: osx + compiler: clang + env: COMPILER=clang + +osx_image: xcode7.3 + +cache: + apt: + ccache: + +script: + - aclocal -I m4 + - autoconf + - automake + - CC=$COMPILER ./configure + - make -j4 + - make install diff --git a/README.md b/README.md index fc83afce..ad193bf2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# charybdis +# charybdis [![Build Status](https://travis-ci.org/charybdis-ircd/charybdis.svg?branch=master)](https://travis-ci.org/charybdis-ircd/charybdis) Charybdis is an IRCv3 server designed to be highly scalable. It implements IRCv3.1 and some parts of IRCv3.2. @@ -45,7 +45,7 @@ It is meant to be used with an IRCv3-capable services implementation such as [At problems with ipv4 due to the way the socket code is written. To fix this you must: "sysctl net.inet6.ip6.v6only=0" - * SOLARIS USERS: this code appears to tickle a bug in older gcc and + * SOLARIS USERS: this code appears to tickle a bug in older gcc and egcs ONLY on 64-bit Solaris7. gcc-2.95 and SunPro C on 64bit should work fine, and any gcc or SunPro compiled on 32bit. @@ -58,7 +58,7 @@ It is meant to be used with an IRCv3-capable services implementation such as [At * OpenSuSE 11/12 * OpenSolaris 2008.x? * Solaris 10 sparc. - + Please let us know if you find otherwise. It probably does not compile on AIX, IRIX or libc5 Linux.