forked from seqan/seqan3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (37 loc) · 827 Bytes
/
.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
sudo: false
dist: trusty
language: cpp
git:
submodules: true
env:
global:
- GCC_VERSION="20170319"
cache:
ccache: true
directories:
- $HOME/debs
before_install:
- export GCC_PATH=/home/travis/gcc-7-$GCC_VERSION
- export PATH=$GCC_PATH/bin/:$PATH
- export LD_LIBRARY_PATH=$GCC_PATH/lib64/:$LD_LIBRARY_PATH
- echo $GCC_VERSION
- echo $GCC_PATH
- echo $PATH
- echo $LD_LIBRARY_PATH
- wget -nc -P $HOME/debs http://ftp.seqan.de/contribs/g++-7_"${GCC_VERSION}"_amd64.deb
install:
- dpkg -x $HOME/debs/g++-7_"${GCC_VERSION}"_amd64.deb $HOME
- mv $HOME/home/travis/* $HOME
- ccache --version
- g++ -v
- cmake --version
before_script:
- mkdir build
- cd build
- cmake ../test
- make googletest -j
script:
- make -k
- ctest . --output-on-failure
after_script:
- ccache -s