From 7dd9d6dfd4a396bdb7860c10c47eb9e03950f37a Mon Sep 17 00:00:00 2001 From: 2ndTaleStudio <43264484+2ndTaleStudio@users.noreply.github.com> Date: Fri, 11 Sep 2020 23:59:55 +0200 Subject: [PATCH] another regex fix --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index eddb4b7..864f36e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ matrix: - rustup component add rust-src - rustup component add llvm-tools-preview # if we not build a PR we remove the patch of the dependencies to their github repo's - - 'if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sed -i "/{^\[patch.crates-io\]/{:a;N;/\z}/!ba};/^ruspiro-/d" Cargo.toml; fi' + - 'if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sed -i "/{^\[patch\.crates-io\] /{:a;N;/\Z}/!ba};/^ruspiro-.*\(git\|path\).*/d" Cargo.toml; fi' script: cargo make --profile a64-travis pi3 - name: "build 32Bit" @@ -34,19 +34,19 @@ matrix: - rustup component add rust-src - rustup component add llvm-tools-preview # if we not build a PR we remove the patch of the dependencies to their github repo's - - 'if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sed -i "/{^\[patch.crates-io\]/{:a;N;/\z}/!ba};/^ruspiro-/d" Cargo.toml; fi' + - 'if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sed -i "/{^\[patch\.crates-io\] /{:a;N;/\Z}/!ba};/^ruspiro-.*\(git\|path\).*/d" Cargo.toml; fi' script: cargo make --profile a32 pi3 - name: "unit tests" install: # if we not build a PR we remove the patch of the dependencies to their github repo's - - 'if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sed -i "/{^\[patch.crates-io\]/{:a;N;/\z}/!ba};/^ruspiro-/d" Cargo.toml; fi' + - 'if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sed -i "/{^\[patch\.crates-io\] /{:a;N;/\Z}/!ba};/^ruspiro-.*\(git\|path\).*/d" Cargo.toml; fi' script: cargo test --tests --features ruspiro_pi3 - name: "doc tests" install: # if we not build a PR we remove the patch of the dependencies to their github repo's - - 'if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sed -i "/{^\[patch.crates-io\]/{:a;N;/\z}/!ba};/^ruspiro-/d" Cargo.toml; fi' + - 'if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sed -i "//{^\[patch\.crates-io\] /{:a;N;/\Z}/!ba};/^ruspiro-.*\(git\|path\).*/d" Cargo.toml; fi' - cat Cargo.toml script: cargo test --doc --features ruspiro_pi3