Skip to content

Commit fd1fa39

Browse files
committed
Avoid container pulling host composer lock file which may cause downgrading installed libraries
1 parent ea0294f commit fd1fa39

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

tests/dockerfiles/php53/3_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Run tests inside container.
22
command=$(cat <<-END
33
mkdir --parents "/tmp/php-curl-class" &&
4-
rsync --delete --exclude=".git" --exclude="vendor" --links --recursive "/data/" "/tmp/php-curl-class/" &&
4+
rsync --delete --exclude=".git" --exclude="vendor" --exclude="composer.lock" --links --recursive "/data/" "/tmp/php-curl-class/" &&
55
cd "/tmp/php-curl-class" &&
66
export TRAVIS_PHP_VERSION="5.3" &&
77
(

tests/dockerfiles/php54/3_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Run tests inside container.
22
command=$(cat <<-END
33
mkdir --parents "/tmp/php-curl-class" &&
4-
rsync --delete --exclude=".git" --exclude="vendor" --links --recursive "/data/" "/tmp/php-curl-class/" &&
4+
rsync --delete --exclude=".git" --exclude="vendor" --exclude="composer.lock" --links --recursive "/data/" "/tmp/php-curl-class/" &&
55
cd "/tmp/php-curl-class" &&
66
export TRAVIS_PHP_VERSION="5.4" &&
77
(

tests/dockerfiles/php55/3_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Run tests inside container.
22
command=$(cat <<-END
33
mkdir --parents "/tmp/php-curl-class" &&
4-
rsync --delete --exclude=".git" --exclude="vendor" --links --recursive "/data/" "/tmp/php-curl-class/" &&
4+
rsync --delete --exclude=".git" --exclude="vendor" --exclude="composer.lock" --links --recursive "/data/" "/tmp/php-curl-class/" &&
55
cd "/tmp/php-curl-class" &&
66
export TRAVIS_PHP_VERSION="5.5" &&
77
(

tests/dockerfiles/php56/3_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Run tests inside container.
22
command=$(cat <<-END
33
mkdir --parents "/tmp/php-curl-class" &&
4-
rsync --delete --exclude=".git" --exclude="vendor" --links --recursive "/data/" "/tmp/php-curl-class/" &&
4+
rsync --delete --exclude=".git" --exclude="vendor" --exclude="composer.lock" --links --recursive "/data/" "/tmp/php-curl-class/" &&
55
cd "/tmp/php-curl-class" &&
66
export TRAVIS_PHP_VERSION="5.6" &&
77
(

tests/dockerfiles/php70/3_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Run tests inside container.
22
command=$(cat <<-END
33
mkdir --parents "/tmp/php-curl-class" &&
4-
rsync --delete --exclude=".git" --exclude="vendor" --links --recursive "/data/" "/tmp/php-curl-class/" &&
4+
rsync --delete --exclude=".git" --exclude="vendor" --exclude="composer.lock" --links --recursive "/data/" "/tmp/php-curl-class/" &&
55
cd "/tmp/php-curl-class" &&
66
export TRAVIS_PHP_VERSION="7.0" &&
77
(

tests/dockerfiles/php71/3_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Run tests inside container.
22
command=$(cat <<-END
33
mkdir --parents "/tmp/php-curl-class" &&
4-
rsync --delete --exclude=".git" --exclude="vendor" --links --recursive "/data/" "/tmp/php-curl-class/" &&
4+
rsync --delete --exclude=".git" --exclude="vendor" --exclude="composer.lock" --links --recursive "/data/" "/tmp/php-curl-class/" &&
55
cd "/tmp/php-curl-class" &&
66
export TRAVIS_PHP_VERSION="7.1" &&
77
(

tests/dockerfiles/php72/3_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Run tests inside container.
22
command=$(cat <<-END
33
mkdir --parents "/tmp/php-curl-class" &&
4-
rsync --delete --exclude=".git" --exclude="vendor" --links --recursive "/data/" "/tmp/php-curl-class/" &&
4+
rsync --delete --exclude=".git" --exclude="vendor" --exclude="composer.lock" --links --recursive "/data/" "/tmp/php-curl-class/" &&
55
cd "/tmp/php-curl-class" &&
66
export TRAVIS_PHP_VERSION="7.2" &&
77
(

tests/dockerfiles/php73/3_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Run tests inside container.
22
command=$(cat <<-END
33
mkdir --parents "/tmp/php-curl-class" &&
4-
rsync --delete --exclude=".git" --exclude="vendor" --links --recursive "/data/" "/tmp/php-curl-class/" &&
4+
rsync --delete --exclude=".git" --exclude="vendor" --exclude="composer.lock" --links --recursive "/data/" "/tmp/php-curl-class/" &&
55
cd "/tmp/php-curl-class" &&
66
export TRAVIS_PHP_VERSION="7.3" &&
77
(

0 commit comments

Comments
 (0)