-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
24 lines (23 loc) · 926 Bytes
/
.travis.yml
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)