Skip to content

Commit

Permalink
fix travis?
Browse files Browse the repository at this point in the history
  • Loading branch information
Ploppz committed Feb 2, 2020
1 parent 9be47b5 commit 3339726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ before_script:
- |
(which cargo-install-update && cargo install-update cargo-update) || cargo install cargo-update &&
(which cargo-prune && cargo install-update cargo-prune) || cargo install cargo-prune
- rustup component add rustfmt-preview
- rustup component add rustfmt
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export DEP_OPENSSL_INCLUDE=`brew --prefix openssl`/include; fi
script:
- if [ "${TRAVIS_RUST_VERSION}" = stable ]; then
(
set -x;
cargo fmt -- --write-mode=diff
cargo fmt
);
fi
- cargo test --verbose --release

0 comments on commit 3339726

Please sign in to comment.