123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- language: c
- notifications:
- irc:
- channels:
- - "irc.oftc.net#tor-ci"
- template:
- - "%{repository} %{branch} %{commit} - %{author}: %{commit_subject}"
- - "Build #%{build_number} %{result}. Details: %{build_url}"
- on_success: change
- on_failure: change
- email:
- on_success: never
- on_failure: change
- os:
- - linux
-
-
-
- dist: trusty
- sudo: false
- addons:
- apt:
- packages:
-
- - libevent-dev
- - libseccomp2
- - zlib1g-dev
-
- - liblzma-dev
- - libscrypt-dev
-
-
- env:
- global:
-
- - MAKEFLAGS="-j 2"
- matrix:
-
-
-
-
- - RUST_OPTIONS="--enable-rust --enable-cargo-online-mode"
-
- matrix:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- allow_failures:
-
-
-
-
-
-
- include:
- - compiler: gcc
- - compiler: gcc
- env: RUST_OPTIONS=""
-
-
-
-
- - compiler: clang
- sudo: required
- - compiler: clang
- sudo: required
- env: RUST_OPTIONS=""
- before_install:
-
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
-
- - if [[ "$RUST_OPTIONS" != "" ]]; then curl -Ssf -o rustup.sh https://sh.rustup.rs; fi
- install:
-
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated openssl || brew upgrade openssl; }; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated libevent || brew upgrade libevent; }; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated pkg-config || brew upgrade pkg-config; }; fi
-
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated xz || brew upgrade xz; }; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated libscrypt || brew upgrade libscrypt; }; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then { brew outdated zstd || brew upgrade zstd; }; fi
-
- - if [[ "$RUST_OPTIONS" != "" ]]; then sh rustup.sh -y --default-toolchain stable; fi
- - if [[ "$RUST_OPTIONS" != "" ]]; then source $HOME/.cargo/env; fi
-
- - if [[ "$RUST_OPTIONS" != "" ]]; then which rustc; fi
- - if [[ "$RUST_OPTIONS" != "" ]]; then which cargo; fi
- - if [[ "$RUST_OPTIONS" != "" ]]; then rustc --version; fi
- - if [[ "$RUST_OPTIONS" != "" ]]; then cargo --version; fi
- script:
- - ./autogen.sh
- - ./configure $RUST_OPTIONS --disable-asciidoc --enable-fatal-warnings --disable-silent-rules --enable-fragile-hardening
-
- - make check
- after_failure:
-
- - cat test-suite.log
|