-
Notifications
You must be signed in to change notification settings - Fork 87
/
.travis.yml
55 lines (48 loc) · 1.51 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
50
51
52
53
54
sudo: false
matrix:
include:
- os: linux
jdk: openjdk8
sudo: false
language: scala
addons:
apt:
packages:
- graphviz
deploy:
skip_cleanup: true
provider: script
script: sbt "release with-defaults"
on:
condition: -e ./deploy.sbt
all_branches: true
before_install:
- wget --output-document=/tmp/AMD-SDK.tar.bz2 http://cs.wisc.edu/~riccardo/assets/AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2
- mkdir /tmp/amd-app-sdk-installer
- tar -xjf /tmp/AMD-SDK.tar.bz2 -C /tmp/amd-app-sdk-installer
- export AMDAPPSDK=${HOME}/AMDAPPSDK
- export OPENCL_VENDOR_PATH=${AMDAPPSDK}/etc/OpenCL/vendors
- mkdir -p ${OPENCL_VENDOR_PATH}
- sh /tmp/amd-app-sdk-installer/AMD-APP-SDK*.sh --tar -xf -C ${AMDAPPSDK}
- echo libamdocl64.so > ${OPENCL_VENDOR_PATH}/amdocl64.icd
- export LD_LIBRARY_PATH=${AMDAPPSDK}/lib/x86_64/sdk:${LD_LIBRARY_PATH}
- chmod +x ${AMDAPPSDK}/bin/x86_64/clinfo
- ${AMDAPPSDK}/bin/x86_64/clinfo
- os: osx
osx_image: xcode8.3
language: scala
before_install:
- brew update
- brew install graphviz
before_cache:
- find $HOME/.sbt -name '*.lock' -delete
- find $HOME/.ivy2 -name 'ivydata-*.properties' -delete
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
- $HOME/Library/Caches/Homebrew
before_script:
script:
- sbt +test +unidoc
before_deploy: