language: cpp
compiler:
    - gcc
    - clang
before_install:
    - sudo apt-get update -qq
    - sudo apt-get install -qq fglrx opencl-headers libboost-chrono1.48-dev libboost-date-time1.48-dev libboost-filesystem1.48-dev libboost-system1.48-dev libboost-thread1.48-dev libboost-program-options1.48-dev libboost-test1.48-dev
script:
    - mkdir -p build && (cd build && cmake .. && make)
    - (cd build && ./examples/devlist && ctest --output-on-failure && ctest --output-on-failure)

language: cpp
compiler:
    - gcc
    - clang
before_install:
    - sudo apt-get update -qq
    - sudo apt-get install -qq fglrx=2:8.960-0ubuntu1 opencl-headers libboost-chrono1.48-dev libboost-date-time1.48-dev libboost-filesystem1.48-dev libboost-system1.48-dev libboost-thread1.48-dev libboost-program-options1.48-dev libboost-test1.48-dev
script:
    - mkdir -p build && (cd build && cmake .. && make)
    - (cd build && ./examples/devlist && ctest --output-on-failure && ctest --output-on-failure)

Install specific version of fglrx on Travis-CI
Install specific version of fglrx on Travis-CI

The current version that gets installed automatically is broken in the
sense that it does not work on a CPU in the absence of a GPU (e.g. see
https://travis-ci.org/ddemidov/vexcl/jobs/18265418#L276).

This installs version 2:8.960-0ubuntu1 which does work.
