CLBlast/.travis.yml
Ivan Shapovalov 6c11fdc12c .travis.yml: use OpenCL ICD Loader and headers shipped by distro
Using our own headers causes problems with CMake which does not like having
OpenCL header path inside of the source tree. While at it, use distro's
universal OpenCL loader as well.
2016-07-28 19:09:29 +03:00

46 lines
646 B
YAML

language: cpp
sudo: required
dist: trusty
os:
- linux
- osx
compiler:
- gcc
- clang
addons:
apt:
sources:
# kubuntu-backports contains newer versions of cmake to install
- kubuntu-backports
packages:
- cmake
- ocl-icd-opencl-dev
env:
global:
- CLBLAST_ROOT=${TRAVIS_BUILD_DIR}/bin/clblast
before_install:
- cmake --version;
- ${CC} --version;
- ${CXX} --version;
before_script:
- mkdir -p ${CLBLAST_ROOT}
- pushd ${CLBLAST_ROOT}
- cmake -DTESTS=ON -DCLIENTS=ON ${TRAVIS_BUILD_DIR}
script:
- make
branches:
only:
- master
- development
notifications:
email: false