File: .travis.yml

package info (click to toggle)
rust-tcmalloc 0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 108 kB
  • sloc: makefile: 4
file content (24 lines) | stat: -rw-r--r-- 926 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
language: rust
sudo: false
matrix:
  include:
    - rust: nightly
      before_script:
        # - sudo apt-get install google-perftools
        - |
            pushd /tmp
            wget https://github.com/gperftools/gperftools/releases/download/gperftools-2.7/gperftools-2.7.tar.gz -O - | tar xfz -
            cd gperftools-2.7
            ./autogen.sh
            ./configure --disable-dependency-tracking --disable-cpu-profiler --disable-heap-checker --disable-debugalloc --prefix=/usr
            sudo make install -j 5
            popd
        # - ldconfig -v 2>/dev/null | grep -v ^$'\t' | sed 's/:$//' | xargs -i find {} -name libtcmalloc.so
        # - echo "int main() { return 0; }" | gcc -ltcmalloc -xc -o /dev/null -
script:
  - |
      cargo build --verbose &&
      (cd examples && cargo build --verbose)

      cargo build --verbose --all-features
      (cd examples && cargo build --verbose --all-features)