Skip to content

Commit

Permalink
chore(ci): skip test on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha committed Apr 12, 2018
1 parent 69e9887 commit afa1758
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "elan"
version = "0.3.0"
version = "0.3.1"
authors = [ "Sebastian Ullrich <[email protected]>" ]
description = "Manage multiple rust installations with ease"

Expand Down
8 changes: 5 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ test_script:
- cargo build --target %TARGET% --release
- cargo test --target %TARGET%
- cargo test --target %TARGET% --release
# quick test
- set RUST_BACKTRACE=1
- cargo run --target %TARGET% -- -y
# quick test, skip on deploy
- if [%APPVEYOR_REPO_TAG%]==[false] (
set RUST_BACKTRACE=1 &&
cargo run --target %TARGET% -- -y
)

before_deploy:
- cargo rustc --target %TARGET% --release --bin elan-init -- -C lto
Expand Down
7 changes: 5 additions & 2 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ fi
cross test --target $TARGET
cross test --target $TARGET --release

# quick test
RUST_BACKTRACE=1 cargo run --target $TARGET -- -y
# quick test, skip on deploy
if [ -z $TRAVIS_TAG ]
then
RUST_BACKTRACE=1 cargo run --target $TARGET -- -y
fi

0 comments on commit afa1758

Please sign in to comment.