language: cpp
compiler:
  - gcc
  - clang

branches:
  only:
    - master

before_install:
  # Update submodules before install
  - git submodule update --init --recursive

before_script:
  - sudo apt-get update -qq
  - sudo apt-get install -qq libssl-dev

script:
  - make clean all
  - sudo make install
  - cd build
  - ./run_tests

language: cpp
compiler:
  - gcc
  - clang

branches:
  only:
    - master

before_install:
  # Update submodules before install
  - git submodule update --init --recursive

before_script:
  - sudo apt-get update -qq
  - sudo apt-get install -qq libssl-dev

script:
  - make clean all
  - sudo make install
  - cd build
  # On Linux, the `run_tests` binary is linked against `./libsslpkix.so.X`
  # so we need to set `LD_LIBRARY_PATH` to the current directory.
  - export LD_LIBRARY_PATH=.
  - ./run_tests
Make Travis export LD_LIBRARY_PATH before testing on Linux.
Make Travis export LD_LIBRARY_PATH before testing on Linux.
