-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (49 loc) · 1.49 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
language: cpp
matrix:
include:
- os: windows
env:
- CMAKE_GENERATOR="Visual Studio 15 2017 Win64"
before_install:
- choco install python3
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
- pip install conan
- conan profile new default --detect
cache:
timeout: 1000000
directories:
- /c/Users/travis/.conan/data
- os: linux
dist: xenial
env:
- CMAKE_GENERATOR="Unix Makefiles"
cache:
timeout: 1000000
directories:
- /home/travis/.conan/data
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -q
- sudo apt-get install gcc-8 g++-8 -y
- CC=gcc-8 && CXX=g++-8
- pip install --user conan
- conan profile new default --detect
- conan profile update settings.compiler.version=8 default
- conan profile update settings.compiler.libcxx=libstdc++11 default
- os: osx
osx_image: xcode10
env:
- CMAKE_GENERATOR="Xcode"
before_install:
- pip install --user conan
- PATH=$HOME/Library/Python/2.7/bin:$PATH
- conan profile new default --detect
cache:
timeout: 1000000
directories:
- /Users/travis/.conan/data
script:
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- conan install .
- cmake -G"$CMAKE_GENERATOR" .
- cmake --build . --config Debug