-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
34 lines (29 loc) · 1.11 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
#=============================================================================
# Copyright (C) 2013 Daniel Pfeifer <[email protected]>
# Copyright (C) 2013 Alexander Lamaison <[email protected]>
#
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt
#=============================================================================
language: cpp
compiler:
- gcc
env:
global:
- OPTIONS="-DCMAKE_TOOLCHAIN_FILE=../cmake/i686-w64-mingw32.cmake"
- DEPENDS="binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686 wine"
matrix:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
before_install:
- curl -L http://www.cmake.org/files/v3.2/cmake-3.2.2-Linux-x86_64.tar.gz | tar -xz
- export PATH="`pwd`/cmake-3.2.2-Linux-x86_64/bin:${PATH}"
- which cmake
- cmake --version
- sudo apt-get update -qq
- sudo apt-get install -qq --no-install-recommends $DEPENDS
script:
- mkdir _build
- cd _build
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE $OPTIONS .. && cmake --build .. && cmake --build .. --target RUN_TESTS