aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-03-27 23:53:42 +0000
committerlloyd <[email protected]>2015-03-27 23:53:42 +0000
commite86bbd73e7afbda890e68e59ee4676530d0e6a8c (patch)
tree413cce2d4f9720dd77e4a5d04a5ebc3f62f0786f /.travis.yml
parentec0c1f80a1c85499d3b8eeab1d12c953d424e268 (diff)
Add Clang target and OpenSSL, Boost, zlib, and sqlite mods to Travis CI build
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 9 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index f1e04e4a8..d5c7624f7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,5 @@
compiler:
+ - clang
- gcc
language: cpp
@@ -8,13 +9,17 @@ before_install:
- sudo apt-get update -qq
install:
- - sudo apt-get install -qq g++-4.8
+ - 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 $CONFIGURE_OPTS
+ - python configure.py $BUILD_MODE --cc-bin=$CXX --with-boost --with-openssl --with-sqlite --with-zlib
- "make"
- "LD_LIBRARY_PATH=. ./botan-test"
@@ -22,5 +27,5 @@ os:
- linux
env:
- - CONFIGURE_OPTS=""
- - CONIFGURE_OPTS="--via-amalgamation --disable-shared"
+ - BUILD_MODE=""
+ - BUILD_MODE="--via-amalgamation --disable-shared"