aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: edfcc9a742ee72a8273aec1f94abc579f8083e35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: cpp

compiler:
  - clang
  - gcc

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 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=$CC --cc-bin=$CXX --with-openssl --with-sqlite --with-zlib
  - "make"
  - "LD_LIBRARY_PATH=. ./botan-test"

notifications:
  email: lloyd@randombit.net

os:
  - linux

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