Skip to content

Commit

Permalink
another regex fix
Browse files Browse the repository at this point in the history
  • Loading branch information
2ndTaleStudio committed Sep 11, 2020
1 parent ad3c787 commit 7dd9d6d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

Expand Down

0 comments on commit 7dd9d6d

Please sign in to comment.