-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
42 lines (38 loc) · 1.06 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
language: objective-c
matrix:
include:
- env: OSX=10.11
os: osx
osx_image: osx10.11
rvm: system
before_install:
- if [ -f ".git/shallow" ]; then travis_retry git fetch --unshallow; fi
- bash travis/install-torch.sh
- source ~/torch/install/bin/torch-activate
- mkdir ~/git
- cd ~/git
- git clone https://github.com/hughperkins/cltorch.git ~/git/cltorch --recursive
- cd ~/git/cltorch
- source ~/torch/install/bin/torch-activate
- luarocks make rocks/cltorch-scm-1.rockspec
- cd ~/build/hughperkins/clnn
script:
- echo hello
- source ~/torch/install/bin/torch-activate
- env
- mkdir build
- cd build
- cmake ..
- make -j 4
- cd ..
- luarocks make rocks/clnn-scm-1.rockspec
- ls ~/torch/install/lib
- ls ~/torch/install/lib/lua/5.1
- otool -L ~/torch/install/lib/lua/5.1/libclnn.so
- otool -l ~/torch/install/lib/lua/5.1/libclnn.so | grep RPATH -A2
- luajit -e "print(package.searchpath('libTHCLNN', package.cpath))"
- luajit -e 'require "clnn"'
notifications:
email:
on_success: never
on_failure: never