-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
57 lines (46 loc) · 1.08 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
# Use container-based infrastructure
sudo: required
services:
- docker
language: cpp
os:
- linux
compiler:
- gcc
- clang
env:
global:
- SEQUENCEPARSER_BUILD=${TRAVIS_BUILD_DIR}/build-sequenceparser
- SEQUENCEPARSER_INSTALL=${TRAVIS_BUILD_DIR}/install-sequenceparser
- CI_NODE_TOTAL=2
matrix:
- PYTHON_VERSION=2.7
- PYTHON_VERSION=3.4
# This results in a 2×2x2 build matrix.
# Where the variables are: os / compiler / python version
addons:
apt:
sources: ['boost-latest', 'kalakris-cmake', 'pythonxy-devel']
packages:
- cmake
- swig
- libboost1.55-all-dev
- python-dev
- python-nose
- python3-dev
- python3-nose
cache:
# Caching Ubuntu packages
apt: true
before_script:
- env | sort
- date -u
- uname -a
- if [ ${CC} = "gcc" ]; then ./tools/travis/gcc.install.coverage.sh; fi
script:
- tools/travis/build.sh
- tools/travis/python.nosetests.sh
after_success:
- if [ ${CC} = "gcc" ]; then ./tools/travis/gcc.generate.coverage.sh; fi
after_failure:
- cat ${SEQUENCEPARSER_BUILD}/CMakeFiles/CMakeOutput.log