-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
78 lines (68 loc) · 1.66 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
sudo: required
dist: trusty
group: edge
# whitelist
branches:
only:
- master
notifications:
irc:
channels:
- "irc.uvt.nl#gitlama"
template:
- "%{repository_slug}#%{build_number} %{message} --> %{build_url}"
skip_join: true
language: cpp
matrix:
include:
- os: linux
compiler: gcc
- os: linux
compiler: clang++
addons:
apt:
packages:
# openmp on travis/trusty is a mess. Just disable for now...
# - libiomp-dev
env:
- OPENMPFLAG=--disable-openmp
- os: osx
compiler: clang++
cache:
directories:
- $HOME/Library/Caches/Homebrew
before_cache:
- brew cleanup
env:
- OPENMPFLAG=--disable-openmp
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get update;
sudo apt-get install pkg-config autoconf-archive libicu-dev libexttextcat-dev;
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew install pkg-config;
brew install autoconf-archive;
# brew update icu4c;
# brew install libtextcat;
# brew install llvm;
# export PATH="/usr/local/opt/llvm/bin:$PATH";
# export LDFLAGS="-L/usr/local/opt/llvm/lib";
# export CXXFLAGS="-I/usr/local/opt/llvm/include";
fi
install:
- bash bootstrap.sh
- ./configure $OPENMPFLAG
- cat config.log
- make
- sudo make install
script:
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib make check
- cat src/tst.log
# - cat config.log
after_failure:
- cat src/tst.log
# - cat config.log
- cat afile
- cat src/test-suite.log