File: .travis.yml

package info (click to toggle)
hhsuite 3.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 15,864 kB
  • sloc: cpp: 25,017; perl: 5,014; python: 3,017; makefile: 36; sh: 34
file content (132 lines) | stat: -rw-r--r-- 3,084 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
language: minimal

script:
  - mkdir build
  - cd build
  - cmake $CMAKE_EXTRA .. && make -j $(nproc --all || sysctl -n hw.ncpu)
  - |
    if [[ "$CMAKE_EXTRA" != "" ]]; then \ 
        make install; \
        export PATH="$(pwd)/bin:$(pwd)/scripts:$PATH"; \
        (cd ../data && ./test.sh); \
    fi

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link gcc@8 --force; fi
  - export CC
  - export CXX

matrix:
  include:
    - os: linux
      dist: trusty
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - cmake
            - gcc-4.8
            - g++-4.8
            - mpi-default-dev
      env: CC=gcc-4.8 CXX=g++-4.8
    - os: linux
      dist: trusty
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - cmake
            - g++-8
            - mpi-default-dev
      env: CC=gcc-8 CXX=g++-8
    - os: linux
      dist: trusty
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - cmake
            - g++-8
            - mpi-default-bin
            - mpi-default-dev
      env: CC=gcc-8 CXX=g++-8 CMAKE_EXTRA="-DENABLE_SANITIZERS=1 -DCMAKE_BUILD_TYPE=ASan -DCMAKE_INSTALL_PREFIX=."
    - os: linux
      dist: trusty
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-precise-3.6
          packages:
            - cmake
            - clang-3.6
            - mpi-default-dev
      env: CC=clang-3.6 CXX=clang++-3.6
    - os: linux
      dist: trusty
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-trusty-7
          packages:
            - clang-7
            - libc++-7-dev
            - libc++abi-7-dev
            - mpi-default-dev
      env: CC=clang-7 CXX=clang++-7
    - os: linux
      dist: trusty
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - cmake
            - gcc-4.8
            - g++-4.8
      env: CC=gcc-4.8 CXX=g++-4.8
    - os: linux
      dist: trusty
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - cmake
            - g++-8
      env: CC=gcc-8 CXX=g++-8
    - os: linux
      dist: trusty
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-precise-3.6
          packages:
            - cmake
            - clang-3.6
      env: CC=clang-3.6 CXX=clang++-3.6
    - os: linux
      dist: trusty
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-trusty-7
          packages:
            - clang-7
            - libc++-7-dev
            - libc++abi-7-dev
      env: CC=clang-7 CXX=clang++-7
    - os: osx
      osx_image: xcode10.1
      addons:
        homebrew:
          packages:
            - cmake
            - gcc@8
      env: CC=gcc-8 CXX=g++-8