Skip to content

Commit 884f623

Browse files
authored
only run cron dependency check on 5.6 (GoogleCloudPlatform#548)
1 parent 5aaf23b commit 884f623

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ php:
2828
matrix:
2929
include:
3030
- php: 5.6
31-
env: RUN_DEVSERVER_TESTS=true RUN_CS_FIXER=true
31+
env: RUN_DEVSERVER_TESTS=true RUN_CS_FIXER=true RUN_DEPENDENCY_CHECK=true
3232
- php: 7.2
3333
env: SKIP_GRPC=true
3434

testing/run_all_tests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ if [ "${RUN_CS_FIXER}" = "true" ]; then
4545
fi
4646
$DIR/run_test_suite.sh;
4747
# only run for travis crons
48-
if [ "${TRAVIS_EVENT_TYPE}" != "pull_request" ]; then
48+
if [ "${TRAVIS_EVENT_TYPE}" != "pull_request" ] && \
49+
[ "${RUN_DEPENDENCY_CHECK}" = "true" ]
50+
then
4951
$DIR/run_dependency_check.sh;
5052
fi

0 commit comments

Comments
 (0)