File: .travis.yml

package info (click to toggle)
openms 2.4.0-real-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 646,136 kB
  • sloc: cpp: 392,260; xml: 215,373; python: 10,976; ansic: 3,325; php: 2,482; sh: 901; ruby: 399; makefile: 141; perl: 85
file content (101 lines) | stat: -rw-r--r-- 3,400 bytes parent folder | download
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
dist: trusty
sudo: false
language: cpp
os:
 - linux

cache:
  - apt
  - ccache
  - directories:
    - contrib/

env:
  globale:
    - CCACHE_TEMPDIR=/tmp/.ccache-temp
addons:
   apt:
      sources:
         - ubuntu-toolchain-r-test
         - boost-latest
         - sourceline: 'ppa:beineri/opt-qt591-trusty'
      packages:
         - cmake
         - qt59base
         - qt59svg
         - cmake-data
         - g++-4.8
         - python-dev
         - libboost-chrono1.55-dev
         - libboost-date-time1.55-dev
         - libboost-filesystem1.55-dev
         - libboost-iostreams1.55-dev
         - libboost-math1.55-dev
         - libboost-python1.55-dev
         - libboost-regex1.55-dev
         - libboost-serialization1.55-dev
         - libboost-system1.55-dev
         - libboost-thread1.55-dev
         - libxerces-c3.1
         - libxerces-c-dev
         - libicu-dev
         - libsvm-dev
         - libsvm3
         - subversion
         - doxygen 
         - graphviz
         - libglpk36
         - libglpk-dev
         - coinor-cbc
         - coinor-libcgl1
         - coinor-libclp1
         - coinor-libcoinutils-dev
         - coinor-libcgl-dev
         - coinor-libcbc-dev
         - coinor-libclp-dev
         - coinor-libosi-dev
         - coinor-libvol-dev
         - libpcre3-dev
         
before_script:
  ./tools/travis/cibuild.before.sh
script:
  ./tools/travis/cibuild.sh

#second we exclude those that are redundant, don't make sense or take too long
matrix:
  include:
    - env: ENABLE_STYLE_TESTING=ON WITH_GUI=ON 
      os: linux
      compiler: gcc

## see for example https://github.com/taocpp/PEGTL/blob/master/.travis.yml
## gcc tests class and TOPP tests
    - env: ENABLE_STYLE_TESTING=OFF ENABLE_TOPP_TESTING=ON ENABLE_CLASS_TESTING=ON WITH_GUI=ON ADDRESS_SANITIZER=Off BUILD_TYPE=Release OPENMP=On
      os: linux
      compiler: gcc

## pyopenms test
    - env: ENABLE_STYLE_TESTING=OFF WITH_GUI=OFF ENABLE_TOPP_TESTING=OFF ENABLE_CLASS_TESTING=OFF ADDRESS_SANITIZER=Off BUILD_TYPE=Release PYOPENMS=ON PY_NO_OPTIMIZATION=ON OPENMP=Off
      os: linux
      compiler: clang

# ## clang tests class and TOPP tests: without gui and without address sanitizer (debug build)
#     - env: ENABLE_STYLE_TESTING=OFF WITH_GUI=OFF ENABLE_TOPP_TESTING=ON ENABLE_CLASS_TESTING=OFF ADDRESS_SANITIZER=Off BUILD_TYPE=Debug CXX_FLAGS="-Qunused-arguments" CFLAGS="-Qunused-arguments" CCACHE_CPP2=1 OPENMP=Off
#       os: linux
#       compiler: clang
# ## clang tests class and TOPP tests: without gui and without address sanitizer (debug build)
#     - env: ENABLE_STYLE_TESTING=OFF WITH_GUI=OFF ENABLE_TOPP_TESTING=OFF ENABLE_CLASS_TESTING=ON ADDRESS_SANITIZER=Off BUILD_TYPE=Debug CXX_FLAGS="-Qunused-arguments" CFLAGS="-Qunused-arguments" CCACHE_CPP2=1 OPENMP=Off
#       os: linux
#       compiler: clang
# 
# ## clang tests class and TOPP tests: without gui and without address sanitizer (release build)
#     - env: ENABLE_STYLE_TESTING=OFF WITH_GUI=ON ENABLE_TOPP_TESTING=ON ENABLE_CLASS_TESTING=ON ADDRESS_SANITIZER=Off BUILD_TYPE=Release CXX_FLAGS="-Qunused-arguments" CFLAGS="-Qunused-arguments" CCACHE_CPP2=1 OPENMP=Off
#       os: linux
#       compiler: clang
#
### OS X tests
#    - env: ENABLE_STYLE_TESTING=OFF WITH_GUI=OFF ENABLE_TOPP_TESTING=ON ENABLE_CLASS_TESTING=OFF ADDRESS_SANITIZER=Off BUILD_TYPE=Release
#      os: osx
#      compiler: clang
#