From 64928ccf7c693d7d1d34de80cbd51453b8c22a5d Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 26 Dec 2019 20:09:44 +0100 Subject: [PATCH] Travis glitches --- tests/conversion/after-5.sh | 2 +- tests/conversion/after-70.sh | 2 +- tests/conversion/prepare-5.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/conversion/after-5.sh b/tests/conversion/after-5.sh index 4b705764..ddaa07d3 100755 --- a/tests/conversion/after-5.sh +++ b/tests/conversion/after-5.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e sed 's/^Loop::set.*;//g' -i vendor/amphp/amp/lib/Loop.php echo 'Loop::set((new DriverFactory())->create());' >> vendor/amphp/amp/lib/Loop.php diff --git a/tests/conversion/after-70.sh b/tests/conversion/after-70.sh index 2734e3ad..ae4f60f1 100755 --- a/tests/conversion/after-70.sh +++ b/tests/conversion/after-70.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e find vendor/danog/madelineproto -type f -name '*.php' -exec sed 's/: EncryptableSocket/: \\Amp\\Socket\\Socket/g' -i {} + diff --git a/tests/conversion/prepare-5.sh b/tests/conversion/prepare-5.sh index 0c2edcf2..25e7b0e6 100755 --- a/tests/conversion/prepare-5.sh +++ b/tests/conversion/prepare-5.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e rm -rf vendor/danog/madelineproto/docs