]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Merge branch 'travis-osx-029' into travis-osx-032
authorteor <teor@torproject.org>
Fri, 10 Aug 2018 09:05:49 +0000 (19:05 +1000)
committerteor <teor@torproject.org>
Fri, 10 Aug 2018 09:06:01 +0000 (19:06 +1000)
Merge asciidoc from 029 with rust from 032.

1  2 
.travis.yml

diff --cc .travis.yml
index f92a3d8d411bc28a967c07709d70a803a28c77f4,8b8621007e50673c7f94219beddca72029cd5231..1b43c721a3a465e0b29ddc835f015acda6bcc17b
@@@ -147,13 -125,7 +147,14 @@@ install
    ## If we're on OSX, and using asciidoc, install asciidoc
    - if [[ "$ASCIIDOC_OPTIONS" == "" ]] && [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install asciidoc; fi
    - if [[ "$ASCIIDOC_OPTIONS" == "" ]] && [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install xmlto; fi
+   - if [[ "$ASCIIDOC_OPTIONS" == "" ]] && [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export XML_CATALOG_FILES="/usr/local/etc/xml/catalog"; fi
 +  ## If we're using Rust, download rustup
 +  - if [[ "$RUST_OPTIONS" != "" ]]; then curl -Ssf -o rustup.sh https://sh.rustup.rs; fi
 +  ## Install the stable channels of rustc and cargo and setup our toolchain environment
 +  - if [[ "$RUST_OPTIONS" != "" ]]; then sh rustup.sh -y --default-toolchain stable; fi
 +  - if [[ "$RUST_OPTIONS" != "" ]]; then source $HOME/.cargo/env; fi
 +  ## If we're testing rust builds in offline-mode, then set up our vendored dependencies
 +  - if [[ "$RUST_DEPENDENCIES" == "true" ]]; then export RUST_DEPENDENCIES=$PWD/src/ext/rust/crates; fi
    ##
    ## Finally, list installed package versions
    - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then dpkg-query --show; fi