forked from solbu/hldig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (56 loc) · 1.63 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
language: cpp
sudo: required
matrix:
include:
- os: linux
compiler: gcc
env: Tr_Compiler_Version="default"
- os: linux
compiler: gcc
env: Tr_Compiler_Version="5"
- os: linux
compiler: gcc
env: Tr_Compiler_Version="6"
- os: linux
compiler: gcc
env: Tr_Compiler_Version="7"
- os: linux
compiler: gcc
env: Tr_Compiler_Version="8"
- os: linux
# clang
compiler: clang
env: Tr_Compiler_Version="default"
- os: linux
compiler: clang
env: Tr_Compiler_Version="6.0"
# osx
- os: osx
osx_image: xcode9.2
- os: osx
osx_image: xcode9.3beta
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then ./.travis-before_install.sh "$CC" "$Tr_Compiler_Version"; fi
- if [ "$Tr_Compiler_Version" != "" ] && [ "$Tr_Compiler_Version" != "default" ] && [ "$CC" = "gcc" ]; then export CXX="g++-${Tr_Compiler_Version}" CC="gcc-${Tr_Compiler_Version}"; fi
- if [ "$Tr_Compiler_Version" != "" ] && [ "$Tr_Compiler_Version" != "default" ] && [ "$CC" == "clang" ]; then export CXX="clang++-${Tr_Compiler_Version}" CC="clang-${Tr_Compiler_Version}"; fi
- $CC --version
- $CXX --version
script:
- cd docs/src
- ./configure
- make
- cd ../..
- ./configure --prefix=$PWD/tempbuild --with-zlib
- make
- make install
notifications:
irc:
channels:
- "chat.freenode.net#hldig"
skip_join: false
use_notice: false
on_success: change
on_failure: change
on_error: always
template:
- "[%{repository_name}#%{branch}@%{commit}] Authored by %{author} | Result: %{message} %{build_url}"