Skip to content

Commit

Permalink
add travis ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jul 23, 2020
1 parent a3c98c5 commit 214fc47
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
language: cpp

sudo: enabled

compiler:
- gcc

matrix:
include:
- os: linux
name: Ubuntu 16.04
dist: xenial
- os: linux
name: Ubuntu 18.04
dist: bionic
- os: osx
name: Mac OS
name: OSX

before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install ocl-icd-libopencl1 opencl-headers ocl-icd-opencl-dev; fi

addons:
apt:
packages:
- ocl-icd-libopencl1
- opencl-headers
- ocl-icd-opencl-dev
update: true

script:
- make -C src

0 comments on commit 214fc47

Please sign in to comment.