forked from fangq/mcxcl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (43 loc) · 1 KB
/
.travis.yml
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
46
47
48
49
language: cpp
sudo: enabled
compiler:
- gcc
matrix:
include:
- os: linux
name: Ubuntu 16.04
dist: xenial
env:
- BADGE=Ubuntu_16.04
- MAKE=make
- os: linux
name: Ubuntu 18.04
dist: bionic
env:
- BADGE=Ubuntu_18.04
- MAKE=make
- os: windows
name: Windows
env:
- BADGE=Windows
- MAKE=mingw32-make
- os: osx
name: OSX
env:
- BADGE=OSX
- MAKE=make
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install ocl-icd-libopencl1 opencl-headers ocl-icd-opencl-dev liboctave-dev; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install opencl-intel-cpu-runtime; fi
addons:
apt:
packages:
- ocl-icd-libopencl1
- opencl-headers
- ocl-icd-opencl-dev
- liboctave-dev
update: true
script:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then ${MAKE} -C src oct; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then ${MAKE} -C src clean; fi
- ${MAKE} -C src