File: .travis.yml

package info (click to toggle)
golang-github-bep-golibsass 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,808 kB
  • sloc: cpp: 30,398; ansic: 848; sh: 662; makefile: 340; perl: 56
file content (70 lines) | stat: -rw-r--r-- 2,081 bytes parent folder | download | duplicates (2)
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
language: cpp

# ASan needs ptrace support which currently requires `sudo: required`.
# See https://github.com/travis-ci/travis-ci/issues/9033.
sudo: required

# don't create redundant code coverage reports
# - AUTOTOOLS=yes COVERAGE=yes BUILD=static
# - AUTOTOOLS=no COVERAGE=yes BUILD=shared
# - AUTOTOOLS=no COVERAGE=no BUILD=static

# further speed up day by day travis-ci builds
# re-enable this if you change the makefiles
# this will still catch all coding errors!
# - AUTOTOOLS=yes COVERAGE=no BUILD=static

# currently there are various issues when
# built with coverage, clang and autotools
# - AUTOTOOLS=yes COVERAGE=yes BUILD=shared

matrix:
  include :
    - os: linux
      compiler: gcc
      env: AUTOTOOLS=no COVERAGE=yes BUILD=static
    - os: linux
      compiler: g++-5
      env: AUTOTOOLS=yes COVERAGE=no BUILD=shared
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-5
    - os: linux
      compiler: g++-8
      env: AUTOTOOLS=yes COVERAGE=no BUILD=shared
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-8
    - os: linux
      compiler: clang
      # This build runs with ASan and we set `detect_odr_violation=0`
      # to work around https://bugs.llvm.org/show_bug.cgi?id=37545.
      env: AUTOTOOLS=no COVERAGE=no BUILD=static ASAN_OPTIONS=detect_odr_violation=0
    - os: linux
      compiler: clang
      env: AUTOTOOLS=yes COVERAGE=no BUILD=shared
    - os: osx
      compiler: clang
      env: AUTOTOOLS=no COVERAGE=no BUILD=shared
    - os: osx
      compiler: clang
      env: AUTOTOOLS=no COVERAGE=no BUILD=static
    - os: osx
      compiler: clang
      env: AUTOTOOLS=yes COVERAGE=no BUILD=shared

script:
  - ./script/ci-build-libsass
  - ./script/ci-build-plugin math
  - ./script/ci-build-plugin glob
  - ./script/ci-build-plugin digest
  - ./script/ci-build-plugin tests
before_install: ./script/ci-install-deps
install: ./script/ci-install-compiler
after_success: ./script/ci-report-coverage