-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
57 lines (43 loc) · 971 Bytes
/
.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
55
56
language: cpp
sudo: required
dist: trusty
compiler:
- gcc
os:
- linux
env:
global:
- GH_REPO_NAME: GPU_GSPCA
- GH_REPO_REF: https://github.com/nmerrill67/GPU_GSPCA.git
notifications:
email:
on_success: never
on_failure: never
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- wget
- build-essential
- cmake
- nvidia-367
- nvidia-modprobe
- libpython2.7
- python-numpy
- libboost-dev
- libboost-python-dev
- libgsl0-dev # c++ orthogonality testing only
before_script:
- sudo reboot
# install repo packages
- CUDA_REPO_PKG=cuda-repo-ubuntu1404_7.5-18_amd64.deb
- wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/$CUDA_REPO_PKG
- sudo dpkg -i $CUDA_REPO_PKG
- rm $CUDA_REPO_PKG
- sudo apt-get update
- sudo apt-get install cuda
- sudo reboot
script:
- mkdir build && cd build
- cmake .. && make