-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (33 loc) · 796 Bytes
/
.travis.yml
File metadata and controls
38 lines (33 loc) · 796 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: cpp
sudo: false
os:
- linux
addons:
apt:
packages:
- graphviz
- libglm-dev
- libsdl-dev
install:
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
- mkdir -p "${DEPS_DIR}" && cd "${DEPS_DIR}"
- CMAKE_URL="https://cmake.org/files/v2.8/cmake-2.8.12.2-Linux-i386.tar.gz"
- |
if [ ! -d cmake ]; then
mkdir cmake && \
travis_retry wget --no-check-certificate --quiet 0 - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
export PATH="${DEPS_DIR}/cmake/bin:${PATH}"
fi
- cd "${TRAVIS_BUILD_DIR}"
script:
- cmake --version
- mkdir build install
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${PWD}../install ..
- make -j all
- make install
notifications:
email: true
cache:
directories:
- deps