зеркало из https://github.com/mozilla/grcov.git
27 строки
970 B
YAML
27 строки
970 B
YAML
sudo: required
|
|
language: rust
|
|
rust:
|
|
- stable
|
|
- nightly
|
|
script:
|
|
- sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
|
|
- wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
|
- sudo apt-add-repository "deb http://apt.llvm.org/precise/ llvm-toolchain-precise-4.0 main"
|
|
- sudo -E apt-get -yq update &>> ~/apt-get-update.log
|
|
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install gcc-$COMPILER_VER g++-$COMPILER_VER clang-4.0 llvm-4.0
|
|
- mkdir -p symlinks
|
|
- ln -s /usr/bin/g++-$COMPILER_VER symlinks/g++
|
|
- ln -s /usr/bin/gcc-$COMPILER_VER symlinks/gcc
|
|
- ln -s /usr/bin/gcov-$COMPILER_VER symlinks/gcov
|
|
- ln -s /usr/bin/clang++-4.0 symlinks/clang
|
|
- ln -s /usr/bin/llvm-cov-4.0 symlinks/llvm-cov
|
|
- export PATH=$PWD/symlinks:$PATH
|
|
- g++ --version
|
|
- clang++ --version
|
|
- cargo build --verbose
|
|
- cargo test -- --nocapture
|
|
env:
|
|
- COMPILER_VER=4.9
|
|
- COMPILER_VER=5
|
|
- COMPILER_VER=6
|