env:
  global:
   # Required for clang.
   - CXXFLAGS="-fno-fast-math"
branches:
  except:
  - /^v[0-9]/

os:
- linux
# - osx

language: cpp

compiler:
- gcc
- clang

matrix:
  allow_failures:
  - os: osx

sudo: false

addons:
  apt:
    packages:
    - libboost-dev
    - libboost-date-time-dev
    - libboost-thread-dev
    - libjpeg8-dev
    - libopenexr-dev
    - libpng12-dev
    - libtiff4-dev
    - zlib1g-dev

install:
- cd unix
- ./prebuild.sh
- cd ..
- ./configure COMPILED_BY="Travis CI" --prefix="$(pwd)/build"
- make check
- make install

script:
- true

notifications:
  email:
    recipients:
    - ${NOTIFICATION_EMAIL}
    on_success: change
    on_failure: always

env:
  global:
   # Required for clang.
   - CXXFLAGS="-fno-fast-math"

branches:
  except:
  - /^v[0-9]/

os:
- linux
- osx

language: cpp

compiler:
- gcc
- clang

sudo: false

addons:
  apt:
    packages:
    - libboost-dev
    - libboost-date-time-dev
    - libboost-thread-dev
    - libjpeg8-dev
    - libopenexr-dev
    - libpng12-dev
    - libtiff4-dev
    - zlib1g-dev

install:
- cd unix
- ./prebuild.sh
- cd ..
- ./configure COMPILED_BY="Travis CI" --prefix="$(pwd)/build"
- make check
- make install

script:
- true

notifications:
  email:
    recipients:
    - ${NOTIFICATION_EMAIL}
    on_success: change
    on_failure: always

Enable automated Mac OS X build testing.
Enable automated Mac OS X build testing.
