forked from harvard-acc/ALADDIN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (57 loc) · 1.65 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
# Ubuntu 16.04.
sudo: required
dist: xenial
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libboost-graph-dev
- sudo apt-get install -y libz-dev
- sudo apt-get install -y libpthread-stubs0-dev
- sudo apt-get install -y libstdc++6
- |
pushd /tmp
wget -q http://releases.llvm.org/6.0.0/clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
tar -xf clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
cd clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04
sudo cp -rf bin/ /usr/local/
sudo cp -rf include/ /usr/local/
sudo cp -rf lib /usr/local/
sudo cp -rf libexec /usr/local/
sudo cp -rf share /usr/local/
popd
language: c++
matrix:
include:
- compiler: g++-4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: COMPILER=g++-4.9 ALADDIN_HOME=$PWD BOOST_ROOT=/usr/include/boost PATH=/usr/local/bin:$PATH
- compiler: g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env: COMPILER=g++-4.8 ALADDIN_HOME=$PWD BOOST_ROOT=/usr/include/boost PATH=/usr/local/bin:$PATH
- compiler: g++-4.7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.7
env: COMPILER=g++-4.7 ALADDIN_HOME=$PWD BOOST_ROOT=/usr/include/boost PATH=/usr/local/bin:$PATH
script:
- cd common && make -j4
- cd ../unit-test && make test -j4
notifications:
email:
on_success: never
on_failure: always
recipients:
- slxi1202@gmail.com
- yaoyuannnn@gmail.com