forked from bilgili/Libre
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
66 lines (66 loc) · 3.05 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
55
56
57
58
59
60
61
62
63
64
65
66
notifications:
email:
on_success: never
language: cpp
sudo: required
dist: trusty
env:
global:
- NINJA_STATUS="[%p %u/%t@%o %r]"
- PROJECT_NAME=${PWD##*/}
matrix:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
before_install:
- wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_8.0.44-1_amd64.deb
- sudo dpkg -i cuda-repo-ubuntu1404_8.0.44-1_amd64.deb
- sudo apt-get update -qq
- sudo apt-get install cuda-drivers cuda-core-8-0 cuda-cudart-dev-8-0
- sudo apt-get install -qq autoconf || /bin/true
- sudo apt-get install -qq automake || /bin/true
- sudo apt-get install -qq avahi-daemon || /bin/true
- sudo apt-get install -qq bison || /bin/true
- sudo apt-get install -qq cmake || /bin/true
- sudo apt-get install -qq cppcheck || /bin/true
- sudo apt-get install -qq doxygen || /bin/true
- sudo apt-get install -qq flex || /bin/true
- sudo apt-get install -qq freeglut3-dev || /bin/true
- sudo apt-get install -qq git || /bin/true
- sudo apt-get install -qq lcov || /bin/true
- sudo apt-get install -qq libavahi-client-dev || /bin/true
- sudo apt-get install -qq libbluetooth-dev || /bin/true
- sudo apt-get install -qq libboost-date-time-dev || /bin/true
- sudo apt-get install -qq libboost-filesystem-dev || /bin/true
- sudo apt-get install -qq libboost-program-options-dev || /bin/true
- sudo apt-get install -qq libboost-regex-dev || /bin/true
- sudo apt-get install -qq libboost-system-dev || /bin/true
- sudo apt-get install -qq libboost-test-dev || /bin/true
- sudo apt-get install -qq libboost-thread-dev || /bin/true
- sudo apt-get install -qq libgl1-mesa-dev || /bin/true
- sudo apt-get install -qq libglewmx1.6-dev || /bin/true
- sudo apt-get install -qq libhwloc-dev || /bin/true
- sudo apt-get install -qq libjpeg-turbo8-dev || /bin/true
- sudo apt-get install -qq libleveldb-dev || /bin/true
- sudo apt-get install -qq libopenmpi-dev || /bin/true
- sudo apt-get install -qq libopenscenegraph-dev || /bin/true
- sudo apt-get install -qq libqt5opengl5-dev || /bin/true
- sudo apt-get install -qq libturbojpeg || /bin/true
- sudo apt-get install -qq libudt-dev || /bin/true
- sudo apt-get install -qq libx11-dev || /bin/true
- sudo apt-get install -qq libzmq3-dev || /bin/true
- sudo apt-get install -qq ninja-build || /bin/true
- sudo apt-get install -qq openmpi-bin || /bin/true
- sudo apt-get install -qq pkg-config || /bin/true
- sudo apt-get install -qq qtbase5-dev || /bin/true
- sudo apt-get install -qq python2.7 || /bin/true
- sudo apt-get install -qq python-pyparsing || /bin/true
- sudo apt-get install -qq libxmu-dev libxi-dev || /bin/true
script:
- export CUDA_HOME=/usr/local/cuda-8.0
- export LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
- export PATH=$CUDA_HOME/bin:$PATH
- export PATH=/usr/bin:$PATH
- mkdir $BUILD_TYPE
- cd $BUILD_TYPE
- cmake -GNinja -DCMAKE_INSTALL_PREFIX=$PWD/install -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
- ninja all && ninja Livre-tests && ninja install