2015-08-18 07:22:27 +02:00
|
|
|
language: cpp
|
2016-03-13 10:47:53 +01:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
# kubuntu-backports contains newer versions of cmake to install
|
|
|
|
- kubuntu-backports
|
|
|
|
packages:
|
|
|
|
- cmake
|
2016-07-28 17:03:35 +02:00
|
|
|
- ocl-icd-opencl-dev
|
2016-03-13 10:47:53 +01:00
|
|
|
|
2017-01-23 22:00:23 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
- os: osx
|
|
|
|
|
2016-03-13 10:47:53 +01:00
|
|
|
env:
|
|
|
|
global:
|
2016-06-27 12:47:39 +02:00
|
|
|
- CLBLAST_ROOT=${TRAVIS_BUILD_DIR}/bin/clblast
|
2016-03-13 10:47:53 +01:00
|
|
|
|
2015-08-19 09:20:10 +02:00
|
|
|
before_install:
|
2016-03-13 10:47:53 +01:00
|
|
|
- cmake --version;
|
|
|
|
- ${CC} --version;
|
|
|
|
- ${CXX} --version;
|
|
|
|
|
2015-08-18 07:22:27 +02:00
|
|
|
before_script:
|
2016-03-13 10:47:53 +01:00
|
|
|
- mkdir -p ${CLBLAST_ROOT}
|
|
|
|
- pushd ${CLBLAST_ROOT}
|
2017-05-03 19:49:15 +02:00
|
|
|
- cmake -DTESTS=ON -DCLIENTS=ON -DSAMPLES=ON -DNETLIB=ON ${TRAVIS_BUILD_DIR}
|
2016-03-13 10:47:53 +01:00
|
|
|
|
2015-08-18 08:25:32 +02:00
|
|
|
script:
|
|
|
|
- make
|
2016-03-13 10:47:53 +01:00
|
|
|
|
2015-09-14 17:16:31 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2016-03-13 10:47:53 +01:00
|
|
|
|
2015-08-18 08:25:32 +02:00
|
|
|
notifications:
|
|
|
|
email: false
|