forked from seqan/seqan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
86 lines (78 loc) · 3.46 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
79
80
81
82
83
84
85
86
sudo: false
language: cpp
cache:
directories:
- $HOME/ccache
before_install: mkdir -p ${HOME}/.local/bin/
matrix:
include:
- os: linux
compiler: gcc-4.9
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'george-edison55-precise-backports']
packages: ['g++-4.9', 'cmake', 'cmake-data', 'zlib1g-dev', 'libbz2-dev', 'libboost-dev', 'python', 'python-nose', 'python-jinja2', 'python-pip']
install: export CXX="g++-4.9" CC="gcc-4.9"
- os: linux
compiler: gcc-5
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'george-edison55-precise-backports']
packages: ['g++-5', 'cmake', 'cmake-data', 'zlib1g-dev', 'libbz2-dev', 'libboost-dev', 'python', 'python-nose', 'python-jinja2', 'python-pip']
install: export CXX="g++-5" CC="gcc-5"
- os: linux
compiler: gcc-7
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'george-edison55-precise-backports']
packages: ['g++-7', 'cmake', 'cmake-data', 'zlib1g-dev', 'libbz2-dev', 'libboost-dev', 'python', 'python-nose', 'python-jinja2', 'python-pip']
install: export CXX="g++-7" CC="gcc-7"
- os: linux
compiler: clang-3.5
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'george-edison55-precise-backports' , 'llvm-toolchain-precise-3.5']
packages: ['clang-3.5', 'g++-4.9', 'cmake', 'cmake-data', 'zlib1g-dev', 'libbz2-dev', 'libboost-dev', 'python', 'python-nose', 'python-jinja2', 'python-pip'] # g++ required for newer libstdc++
install: export CXX="clang++-3.5" CC="clang-3.5"
# - os: linux
# compiler: clang-3.8
# addons:
# apt:
# sources: ['ubuntu-toolchain-r-test', 'george-edison55-precise-backports' , 'llvm-toolchain-precise-3.8']
# packages: ['clang-3.8', 'g++-4.9', 'cmake', 'cmake-data', 'zlib1g-dev', 'libbz2-dev', 'libboost-dev', 'python', 'python-nose', 'python-jinja2', 'python-pip'] # g++ required for newer libstdc++
# install: export CXX="clang++-3.8" CC="clang-3.8"
# clang-3.9 currently not white listed.
- os: linux
compiler: clang-3.9
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'george-edison55-precise-backports' , 'llvm-toolchain-precise-3.9']
packages: ['clang-3.9', 'g++-7', 'cmake', 'cmake-data', 'zlib1g-dev', 'libbz2-dev', 'libboost-dev', 'python', 'python-nose', 'python-jinja2', 'python-pip'] # g++ required for newer libstdc++
install: export CXX="clang++-3.9" CC="clang-3.9"
# currently too slow on osx
#- os: osx
#compiler: clang-3.6
#before_install:
#- sudo brew update
#- sudo brew tap homebrew/versions
#- sudo brew install llvm36
#install: ['export CXX="clang++-3.6" CC="clang-3.6"' ]
#- os: osx
#compiler: clang-3.7
#before_install:
#- sudo brew update
#- sudo brew tap homebrew/versions
#- sudo brew install llvm37
#install: ['export CXX="clang++-3.7" CC="clang-3.7"' ]
before_script:
- export PATH=$HOME/.local/bin:/usr/lib/ccache:$PATH
- pip install --user -r manual/requirements.txt
- rm -rf ${HOME}/.ccache
- mkdir -p ${HOME}/ccache/${TRAVIS_BRANCH}/${TRAVIS_OS_NAME}/${CXX}
- ln -s ${HOME}/ccache/${TRAVIS_BRANCH}/${TRAVIS_OS_NAME}/${CXX} ${HOME}/.ccache
- ln -s /usr/bin/ccache ${HOME}/.local/bin/${CXX}
- ln -s /usr/bin/ccache ${HOME}/.local/bin/${CC}
script:
- ccache -s
- ./util/travis/linux-cibuild.sh
- ccache -s