forked from theimpossibleastronaut/rmw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (51 loc) · 1.43 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
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
allow_failures:
- os: osx
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:
- ./configure --prefix=$PWD/temp-build
- make
- make install
- cd test
- ./basic.sh
- rm -rf tmp-home
- ./purging.sh
- cd ..
- make uninstall
notifications:
slack: removetowaste:u16fiNsaMeLmg7J4WXifW3Zm