-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (32 loc) · 1.02 KB
/
.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
25
26
27
28
29
30
31
32
33
34
35
36
sudo: false
language: rust
cache:
directories:
- $HOME/.cache/
- $HOME/.cargo/
matrix:
include:
- os: linux
rust: nightly
compiler: g++
env: COMPILER=g++-4.8
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.8', 'zlib1g-dev', 'libbz2-dev', 'libsnappy-dev', 'curl', 'libdw-dev', 'libelf-dev', 'elfutils', 'binutils-dev']
- os: osx
compiler: clang++
env: COMPILER=clang++
rust: nightly
install:
- export LOCAL_DIR=$HOME/.cache/
- export PATH=$PATH:$LOCAL_DIR/bin:$HOME/.cargo/bin
- export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$LOCAL_DIR/lib
- export LIBRARY_PATH=${LIBRARY_PATH}:$LOCAL_DIR/lib
- export DYLD_LIBRARY_PATH=${DY_LIBRARY_PATH}:$LOCAL_DIR/lib
- make -f travis-build/Makefile prepare_${TRAVIS_OS_NAME}
script:
- make -f travis-build/Makefile test_${TRAVIS_OS_NAME}
after_success:
# TODO add following into build progress after failed cases are resolved.
- make -f travis-build/Makefile cover_${TRAVIS_OS_NAME}