1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-18 02:42:05 +03:00
wezterm/ci/travis-run.sh
Wez Furlong 45c1f5b4f3 cleanup travis config, re-enable cargo test --all
Streamline the travis deploy builds; when TRAVIS_TAG is set
we'll run `--release` builds.

Don't error out in fontconfig/build.rs if fontconfig is not
installed.  This makes it possible to `cargo test --all` again
on the mac at the cost of potentially making it harder to troubleshoot
problems with not having fontconfig installed on linux.
However: the get-deps script is responsible for installing that.
2019-03-24 08:45:28 -07:00

17 lines
247 B
Bash
Executable File

#!/bin/bash
set -ex
RELEASE_FLAG=""
if [[ "$TRAVIS_RUST_VERSION" == "stable" ]] ; then
cargo fmt --all -- --check
fi
if [[ "$TRAVIS_TAG" != "" ]] ; then
RELEASE_FLAG="--release"
fi
cargo build $RELEASE_FLAG
cargo test $RELEASE_FLAG --all