Revision dbb096ad660b1b07b82b25f613e9c4640f845006 authored by Cedric Nugteren on 14 November 2015, 14:58:21 UTC, committed by Cedric Nugteren on 14 November 2015, 14:58:21 UTC
1 parent f701c1f
.travis.yml
language: cpp
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:kalakris/cmake
- sudo apt-get update -qq
- sudo apt-get install -qq gcc-4.8 g++-4.8 clang
- sudo apt-get install -qq fglrx=2:8.960-0ubuntu1 opencl-headers
- sudo apt-get install -qq cmake
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
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 -DSAMPLES=ON -DTESTS=ON ..
script:
- make
- make install
branches:
only:
- master
notifications:
email: false
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...