-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
50 lines (40 loc) · 1.39 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
sudo: false
addons:
apt:
packages:
- graphviz
language: scala
scala:
- 2.11.12
- 2.12.4
jdk:
- openjdk8
before_install:
- wget --quiet --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
before_cache:
- find $HOME/.sbt -name '*.lock' -delete
- find $HOME/.ivy2 -name 'ivydata-*.properties' -delete
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
- $HOME/.coursier/
before_script:
before_deploy:
deploy:
- provider: script
script: sbt ++$TRAVIS_SCALA_VERSION "set every Seq(sonatypeSessionName := \"Travis Job $TRAVIS_JOB_NAME $TRAVIS_JOB_NUMBER ($TRAVIS_JOB_WEB_URL)\", publishTo := sonatypePublishToBundle.value)" publishSigned sonatypeBundleRelease
skip_cleanup: true
on:
all_branches: true
condition: $GITHUB_PERSONAL_ACCESS_TOKEN