-
Notifications
You must be signed in to change notification settings - Fork 146
Expand file tree
/
Copy path.travis.yml
More file actions
24 lines (20 loc) · 845 Bytes
/
.travis.yml
File metadata and controls
24 lines (20 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: cpp
os:
- linux
# - osx TODO(vmarkovtsev): osx used to be supported once, but then CUDA updated, Homebrew updated, and I gave up fixing the CI in #63
dist: xenial
sudo: required
before_install:
- rm -rf /opt/python
- wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.44-1_amd64.deb
- sudo dpkg -i cuda-repo-ubuntu1604_8.0.44-1_amd64.deb
- sudo apt-get update
- sudo apt-get install -y --no-install-suggests --no-install-recommends python3-dev python3-numpy r-base-core cuda-cudart-dev-8-0 cuda-curand-dev-8-0 cuda-core-8-0 cuda-misc-headers-8-0
before_script:
- mkdir src/build
- cd src/build
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-8.0 ..
script:
- make -j2 VERBOSE=1
notifications:
email: false