Skip to content

Commit 13f0411

Browse files
petkGirgias
andauthored
Remove Travis artefacts (php#15714)
Travis was suspended php#15314 This removes 404 errored Travis image in README, travis configuration directory and YAML file and usages in tests. [skip ci] Co-authored-by: Gina Peter Banyard <[email protected]>
1 parent 9a9e178 commit 13f0411

19 files changed

+1
-231
lines changed

.github/workflows/push.yml

-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ on:
1010
- CONTRIBUTING.md
1111
- CODING_STANDARDS.md
1212
- .cirrus.yml
13-
- .travis.yml
14-
- travis/**
1513
- .circleci/**
1614
branches:
1715
- PHP-8.1
@@ -28,8 +26,6 @@ on:
2826
- CONTRIBUTING.md
2927
- CODING_STANDARDS.md
3028
- .cirrus.yml
31-
- .travis.yml
32-
- travis/**
3329
- .circleci/**
3430
branches:
3531
- '**'

.travis.yml

-89
This file was deleted.

CONTRIBUTING.md

-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ locations.
238238
└─ ...
239239
├─ scripts/ # php-config, phpize and internal development scripts
240240
├─ tests/ # Core features tests
241-
├─ travis/ # Travis CI service files
242241
└─ win32/ # Windows build system files
243242
├─ cp_enc_map.c # Generated by `win32/cp_enc_map_gen.exe`
244243
└─ ...

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ blog to the most popular websites in the world. PHP is distributed under the
1515
[PHP License v3.01](LICENSE).
1616

1717
[![Push](https://github.com/php/php-src/actions/workflows/push.yml/badge.svg)](https://github.com/php/php-src/actions/workflows/push.yml)
18-
[![Build status](https://travis-ci.com/php/php-src.svg?branch=master)](https://travis-ci.com/github/php/php-src)
1918
[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/php.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:php)
2019

2120
## Documentation

docs/release-process.md

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ releases.
5454

5555
3. Ensure that the relevant tests on CI are green.
5656

57-
- https://travis-ci.com/github/php/php-src
5857
- https://cirrus-ci.com/github/php/php-src
5958
- https://github.com/php/php-src/actions
6059

ext/gmp/tests/gmp_setbit_long.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ gmp_setbit() with large index
33
--EXTENSIONS--
44
gmp
55
--SKIPIF--
6-
<?php if (getenv("TRAVIS") === "true") die("skip not suitable for Travis-CI"); ?>
76
<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
87
<?php if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); ?>
98
<?php

ext/pcntl/tests/pcntl_cpuaffinity.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ pcntl
55
--SKIPIF--
66
<?php
77
if (!function_exists("pcntl_setcpuaffinity")) die("skip pcntl_setcpuaffinity is not available");
8-
if (getenv('TRAVIS')) die('skip Currently fails on Travis');
98
?>
109
--FILE--
1110
<?php

ext/pcntl/tests/pcntl_getcpu.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ pcntl
66
<?php
77
if (!function_exists("pcntl_getcpu")) die("skip pcntl_getcpu() is not available");
88
if (!function_exists("pcntl_setcpuaffinity")) die("skip pcntl_setcpuaffinity() is not available");
9-
if (getenv('TRAVIS')) die('skip Currently fails on Travis');
109
if (getenv('SKIP_REPEAT')) die("skip Not repeatable");
1110
?>
1211
--FILE--

ext/standard/tests/file/disk_free_space_basic.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Test disk_free_space and its alias diskfreespace() functions : basic functionality
33
--SKIPIF--
44
<?php
5-
if (getenv("TRAVIS") === "true") die("skip inaccurate on TravisCI");
65
if (getenv('CIRRUS_CI')) die('skip Inaccurate on Cirrus');
76
?>
87
--INI--

ext/zlib/tests/gzcompress_basic1.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Test gzcompress() function : basic functionality
33
--EXTENSIONS--
44
zlib
5-
--SKIPIF--
6-
<?php if (getenv('TRAVIS')) die('skip Currently fails on Travis'); ?>
75
--FILE--
86
<?php
97
/*

ext/zlib/tests/gzdeflate_basic1.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Test gzdeflate() function : basic functionality
33
--EXTENSIONS--
44
zlib
5-
--SKIPIF--
6-
<?php if (getenv('TRAVIS')) die('skip Currently fails on Travis'); ?>
75
--FILE--
86
<?php
97
/*

ext/zlib/tests/gzencode_basic1.phpt

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Test gzencode() function : basic functionality
33
--EXTENSIONS--
44
zlib
5-
--SKIPIF--
6-
<?php if (getenv('TRAVIS')) die('skip Currently fails on Travis'); ?>
75
--FILE--
86
<?php
97
/*

run-tests.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,6 @@ function main(): void
308308

309309
$no_file_cache = '-d opcache.file_cache= -d opcache.file_cache_only=0';
310310

311-
define('TRAVIS_CI', (bool) getenv('TRAVIS'));
312-
313311
// Determine the tests to be run.
314312

315313
$test_files = [];
@@ -916,7 +914,7 @@ function save_results(string $output_file, bool $prompt_to_save_results): void
916914
{
917915
global $sum_results, $failed_test_summary, $PHP_FAILED_TESTS, $php;
918916

919-
if (getenv('NO_INTERACTION') || TRAVIS_CI) {
917+
if (getenv('NO_INTERACTION')) {
920918
return;
921919
}
922920

@@ -1440,7 +1438,6 @@ function run_all_tests_parallel(array $test_files, array $env, ?string $redir_te
14401438
"constants" => [
14411439
"INIT_DIR" => INIT_DIR,
14421440
"TEST_PHP_SRCDIR" => TEST_PHP_SRCDIR,
1443-
"TRAVIS_CI" => TRAVIS_CI
14441441
]
14451442
])) . "\n";
14461443

sapi/cli/tests/upload_2G.phpt

-4
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ if (empty($enough_free_ram)) {
3232
die(sprintf("skip need +3G free RAM, but only %01.2f available", $free_ram));
3333
}
3434

35-
if (getenv('TRAVIS')) {
36-
die("skip Fails intermittently on travis");
37-
}
38-
3935
if (getenv('CIRRUS_CI')) die('skip Fails on Cirrus');
4036

4137
if (getenv('SKIP_PERF_SENSITIVE')) {

sapi/fpm/tests/tester.inc

-12
Original file line numberDiff line numberDiff line change
@@ -296,18 +296,6 @@ class Tester
296296
}
297297
}
298298

299-
/**
300-
* Skip if running on Travis.
301-
*
302-
* @param $message
303-
*/
304-
static public function skipIfTravis($message)
305-
{
306-
if (getenv("TRAVIS")) {
307-
die('skip Travis: ' . $message);
308-
}
309-
}
310-
311299
/**
312300
* Skip if not running as root.
313301
*/

travis/compile.sh

-76
This file was deleted.

travis/setup-mysql.sh

-4
This file was deleted.

travis/setup-pgsql.sh

-8
This file was deleted.

travis/test.sh

-17
This file was deleted.

0 commit comments

Comments
 (0)