File: .travis.yml

package info (click to toggle)
coz-profiler 0.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 22,528 kB
  • sloc: ansic: 188,045; javascript: 20,133; cpp: 6,852; makefile: 214; python: 118; sh: 88
file content (39 lines) | stat: -rw-r--r-- 702 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
# Build on Ubuntu 18.04
dist: bionic

# Specify language
language: cpp

# Build with both clang and gcc
compiler:
  - clang
  - g++

# Build all branches except gh-pages
branches:
  except:
    - gh-pages

# Install dependencies
before_install:
  - sudo apt-get update
  - sudo apt-get install -y --install-recommends docutils-common libelfin-dev nodejs npm

# Make and install
install:
  - make
  - sudo make install

# Run the make check target (add tests later)
script:
  - make check USE_SYSTEM_COZ=1

# Test the Rust support as well
matrix:
  include:
    - language: rust
      rust: stable
      before_install: true
      install: true
      script: cargo test --manifest-path rust/Cargo.toml