forked from Axel-Naumann/cling-rootcern
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (48 loc) · 1.54 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
language: cpp
compiler:
- gcc
before_install:
- echo $LANG
- echo $LC_ALL
- sudo apt-get install python-software-properties
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install gcc-4.8
- sudo apt-get install g++-4.8
- sudo apt-get install binutils-gold
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
before_script:
- mkdir src inst obj
- git clone https://github.com/vgvassilev/llvm.git src
- (cd src && git checkout cling-patches)
- git clone https://github.com/vgvassilev/clang.git src/tools/clang
- (cd src/tools/clang && git checkout cling-patches)
- git clone https://github.com/vgvassilev/cling.git src/tools/cling
- cd src
- cd ../obj
- travis_retry ../src/configure --prefix=`pwd`/../inst --disable-docs --disable-bindings --disable-visibility-inlines-hidden --disable-clang-rewriter --disable-clang-static-analyzer --disable-clang-arcmt --disable-compiler-version-checks --enable-targets=host
script:
- travis_retry make -j4 -k
- travis_retry make -j4 -k
- travis_retry make install
- cd tools/cling
- make test LIT_ARGS=--no-progress-bar
branches:
only:
- master
notifications:
recipients:
email:
on_success: change
on_failure: always
#irc:
#channels:
#- "chat.freenode.net#rubinius"
template:
- "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
os:
- linux
# - osx