compiler:
  - gcc

language: cpp

before_install:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq

install:
  - sudo apt-get install -qq g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90

script:
  - $CXX --version
  - python configure.py $CONFIGURE_OPTS
  - "make"
  - "LD_LIBRARY_PATH=. ./botan-test"

os:
  - linux

env:
  - CONFIGURE_OPTS=""
  - CONIFGURE_OPTS="--via-amalgamation --disable-shared"

compiler:
  - clang
  - gcc

language: cpp

before_install:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq

install:
  - sudo apt-get install -y g++-4.8
  - sudo apt-get install -y libboost-all-dev
  - sudo apt-get install -y libssl-dev
  - sudo apt-get install -y libz-dev
  - sudo apt-get install -y libsqlite3-dev
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90

script:
  - $CXX --version
  - python configure.py $BUILD_MODE --cc-bin=$CXX --with-boost --with-openssl --with-sqlite --with-zlib
  - "make"
  - "LD_LIBRARY_PATH=. ./botan-test"

os:
  - linux

env:
  - BUILD_MODE=""
  - BUILD_MODE="--via-amalgamation --disable-shared"

Add Clang target and OpenSSL, Boost, zlib, and sqlite mods to Travis CI build
Add Clang target and OpenSSL, Boost, zlib, and sqlite mods to Travis CI build
