summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 502a4e69b6c829adfbd4e14949d75e34f5622604 (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
language: cpp
compiler:
  - gcc
  - clang
install:
  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    - kalakris-cmake
    packages:
    - gcc-4.8
    - g++-4.8
    - clang
    - cmake
    - fglrx
    - opencl-headers
before_script:
  - mkdir install
  - export PATH=`pwd`/install/bin:${PATH}
  - export LD_LIBRARY_PATH=`pwd`/install/lib64:`pwd`/install/lib:${LD_LIBRARY_PATH}
  - mkdir build
  - cd build
  - cmake -DCMAKE_INSTALL_PREFIX:PATH=../install ..
script:
  - make
  - make install
notifications:
  email: false
sudo: false