summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 0465afa41892ac9a11da9ca43928e5757b02f7f5 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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