language: c
compiler: gcc
before_script:
  - wget http://saffire-lang.org/travis/libicu-dev_4.8.1.1-3_amd64.deb
  - wget http://saffire-lang.org/travis/libicu48_4.8.1.1-3_amd64.deb
  - sudo dpkg -i libicu48_4.8.1.1-3_amd64.deb
  - sudo dpkg -i libicu-dev_4.8.1.1-3_amd64.deb
  - sudo mkdir -p /usr/share/saffire/modules
  - sudo ln -s `pwd`/sfl /usr/share/saffire/modules/sfl
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq libpcre3-dev libfcgi-dev libedit-dev libbz2-dev libxml2-dev
  - sudo apt-get install -qq php5-cli php-pear
  - sudo apt-get install -qq libcunit1-dev
  - printf "\n" | sudo pecl install yaml
  - sudo sh -c 'echo "extension = yaml.so" >> /etc/php5/cli/php.ini'

env:
    SAFFIRE_TEST_BIN=build/release/saffire
script: ./build.sh && sh unittest.sh
notifications:
  irc: "irc.freenode.org#saffire"

language: c

compiler:
  - clang
  - gcc

before_script:
  - wget http://saffire-lang.org/travis/libicu-dev_4.8.1.1-3_amd64.deb
  - wget http://saffire-lang.org/travis/libicu48_4.8.1.1-3_amd64.deb
  - sudo dpkg -i libicu48_4.8.1.1-3_amd64.deb
  - sudo dpkg -i libicu-dev_4.8.1.1-3_amd64.deb
  - sudo mkdir -p /usr/share/saffire/modules
  - sudo ln -s `pwd`/sfl /usr/share/saffire/modules/sfl

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq libpcre3-dev libfcgi-dev libedit-dev libbz2-dev libxml2-dev
  - sudo apt-get install -qq php5-cli php-pear
  - sudo apt-get install -qq libcunit1-dev
  - printf "\n" | sudo pecl install yaml
  - sudo sh -c 'echo "extension = yaml.so" >> /etc/php5/cli/php.ini'

env:
    SAFFIRE_TEST_BIN=build/release/saffire

script: ./build.sh && sh unittest.sh

notifications:
  irc: "irc.freenode.org#saffire"

Add clang to the build matrix
Add clang to the build matrix
