-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.travis.yml
36 lines (31 loc) · 1.26 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
# Ubuntu 14.04 Trusty support
sudo: required
dist: trusty
addons:
apt:
sources:
- sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty main'
key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-3.8
- libclang-common-3.8-dev
- llvm-3.8-runtime
- llvm-3.8
- lcov
- coreutils
- automake
- python3-setuptools
- gdb
- ninja-build
language: python
python:
- 2.7
before_install:
- pip install coveralls
- pip install pytest pytest-cov
- sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.8 50
- sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.8 50
install: ./install_deps.sh
script: cd testdata/Automake-Autoconf-Template-Project && export PATH=`echo $PATH | sed 's/\/usr\/local\/clang-3.5.0\/bin://g'`:$HOME/local/bin && PYTHONUNBUFFERED=1 coverage run --rcfile=../../.coveragerc ../../setup.py test
after_success:
- coveralls