Skip to content

Commit d271597

Browse files
committed
Merge branch 'master' into bug-fix-cycle-9
2 parents 9a22946 + b26cf70 commit d271597

File tree

10 files changed

+37
-26
lines changed

10 files changed

+37
-26
lines changed

lib/travis/build/addons/apt.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class Apt < Base
1515
xenial
1616
bionic
1717
focal
18+
jammy
1819
).freeze
1920

2021
attr_reader :safelisted, :disallowed_while_sudo

lib/travis/build/addons/mariadb.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def after_prepare
2121
sh.else do
2222
sh.cmd "apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 #{MARIADB_GPG_KEY_NEW}", sudo: true
2323
end
24-
sh.cmd 'add-apt-repository "deb http://%p/mariadb/repo/%p/ubuntu $TRAVIS_DIST main"' % [MARIADB_MIRROR, mariadb_version], sudo: true
24+
sh.cmd 'add-apt-repository --yes "deb http://%p/mariadb/repo/%p/ubuntu $TRAVIS_DIST main"' % [MARIADB_MIRROR, mariadb_version], sudo: true
2525
sh.cmd 'travis_apt_get_update', retry: true, echo: true
2626
sh.cmd "PACKAGES='mariadb-server-#{mariadb_version}'", echo: true
2727
sh.cmd "if [[ $(lsb_release -cs) = 'precise' ]]; then PACKAGES=\"${PACKAGES} libmariadbclient-dev\"; fi", echo: true

lib/travis/build/addons/snaps.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class Snaps < Base
1313
xenial
1414
bionic
1515
focal
16+
jammy
1617
).freeze
1718

1819
def before_prepare?

lib/travis/build/bash/travis_setup_postgresql.bash

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ travis_setup_postgresql() {
1919
focal)
2020
version='12'
2121
;;
22+
jammy)
23+
version='14'
24+
;;
2225
*)
2326
echo -e "${ANSI_RED}Unrecognized operating system.${ANSI_CLEAR}"
2427
;;

lib/travis/build/config.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def sc_data
5353
xenial: ENV.fetch('TRAVIS_BUILD_APT_PACKAGE_SAFELIST_XENIAL', ''),
5454
bionic: ENV.fetch('TRAVIS_BUILD_APT_PACKAGE_SAFELIST_BIONIC', ''),
5555
focal: ENV.fetch('TRAVIS_BUILD_APT_PACKAGE_SAFELIST_FOCAL', ''),
56+
jammy: ENV.fetch('TRAVIS_BUILD_APT_PACKAGE_SAFELIST_JAMMY', ''),
5657
},
5758
apt_proxy: ENV.fetch('TRAVIS_BUILD_APT_PROXY', ''),
5859
apt_source_alias_list: {
@@ -61,6 +62,7 @@ def sc_data
6162
xenial: ENV.fetch('TRAVIS_BUILD_APT_SOURCE_ALIAS_LIST_XENIAL', ''),
6263
bionic: ENV.fetch('TRAVIS_BUILD_APT_SOURCE_ALIAS_LIST_BIONIC', ''),
6364
focal: ENV.fetch('TRAVIS_BUILD_APT_SOURCE_ALIAS_LIST_FOCAL', ''),
65+
jammy: ENV.fetch('TRAVIS_BUILD_APT_SOURCE_ALIAS_LIST_JAMMY', ''),
6466
},
6567
apt_source_alias_list_key_url_template: ENV.fetch(
6668
'TRAVIS_BUILD_APT_SOURCE_ALIAS_LIST_KEY_URL_TEMPLATE',

lib/travis/build/rake_tasks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def file_update_ghc_versions
330330
dest.chmod(0o644)
331331
end
332332

333-
def file_update_sonar_scanner(version: ENV['TRAVIS_BUILD_SONAR_CLOUD_CLI_VERSION'] || '3.0.3.778')
333+
def file_update_sonar_scanner(version: ENV['TRAVIS_BUILD_SONAR_CLOUD_CLI_VERSION'] || '4.7.0.2747')
334334
conn = build_faraday_conn(host: 'repo1.maven.org')
335335
response = conn.get("/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/#{version}/sonar-scanner-cli-#{version}.zip")
336336
raise 'Could not fetch SonarCloud scanner CLI archive' unless response.success?

lib/travis/build/script/php.rb

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -221,23 +221,23 @@ def php_5_3_or_older?
221221
def overwrite_pearrc(version)
222222
pear_config = %q(
223223
[
224-
'preferred_state' => "stable",
225-
'temp_dir' => "/tmp/pear/install",
226-
'download_dir' => "/tmp/pear/install",
227-
'bin_dir' => "/home/travis/.phpenv/versions/__VERSION__/bin",
228-
'php_dir' => "/home/travis/.phpenv/versions/__VERSION__/share/pear",
229-
'doc_dir' => "/home/travis/.phpenv/versions/__VERSION__/docs",
230-
'data_dir' => "/home/travis/.phpenv/versions/__VERSION__/data",
231-
'cfg_dir' => "/home/travis/.phpenv/versions/__VERSION__/cfg",
232-
'www_dir' => "/home/travis/.phpenv/versions/__VERSION__/www",
233-
'man_dir' => "/home/travis/.phpenv/versions/__VERSION__/man",
234-
'test_dir' => "/home/travis/.phpenv/versions/__VERSION__/tests",
235-
'__channels' => [
236-
'__uri' => [],
237-
'doc.php.net' => [],
238-
'pecl.php.net' => []
224+
"preferred_state" => "stable",
225+
"temp_dir" => "/tmp/pear/install",
226+
"download_dir" => "/tmp/pear/install",
227+
"bin_dir" => "/home/travis/.phpenv/versions/__VERSION__/bin",
228+
"php_dir" => "/home/travis/.phpenv/versions/__VERSION__/share/pear",
229+
"doc_dir" => "/home/travis/.phpenv/versions/__VERSION__/docs",
230+
"data_dir" => "/home/travis/.phpenv/versions/__VERSION__/data",
231+
"cfg_dir" => "/home/travis/.phpenv/versions/__VERSION__/cfg",
232+
"www_dir" => "/home/travis/.phpenv/versions/__VERSION__/www",
233+
"man_dir" => "/home/travis/.phpenv/versions/__VERSION__/man",
234+
"test_dir" => "/home/travis/.phpenv/versions/__VERSION__/tests",
235+
"__channels" => [
236+
"__uri" => [],
237+
"doc.php.net" => [],
238+
"pecl.php.net" => []
239239
],
240-
'auto_discover' => 1
240+
"auto_discover" => 1
241241
]
242242
).gsub("__VERSION__", version)
243243

public/version-aliases/ghc.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,19 @@
166166
"9.0.1-alpha1": "9.0.1-alpha1",
167167
"9.0": "9.0.2",
168168
"9.0.1": "9.0.1",
169-
"9": "9.2.2",
170-
"9.x": "9.2.2",
171-
"9.x.x": "9.2.2",
169+
"9": "9.2.3",
170+
"9.x": "9.2.3",
171+
"9.x.x": "9.2.3",
172172
"9.0.x": "9.0.2",
173173
"9.0.2": "9.0.2",
174174
"9.2.1-alpha1": "9.2.1-alpha1",
175-
"9.2": "9.2.2",
175+
"9.2": "9.2.3",
176176
"9.2.1-alpha2": "9.2.1-alpha2",
177177
"9.2.1": "9.2.1",
178-
"9.2.x": "9.2.2",
179-
"9.2.2": "9.2.2"
178+
"9.2.x": "9.2.3",
179+
"9.2.2": "9.2.2",
180+
"9.2.3": "9.2.3",
181+
"9.4.1-alpha1": "9.4.1-alpha1",
182+
"9.4": "9.4.1-alpha2",
183+
"9.4.1-alpha2": "9.4.1-alpha2"
180184
}

spec/build/addons/apt_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109

110110
it 'defaults source safelist to empty hash' do
111111
expect(described_class.source_alias_lists)
112-
.to eql({ unset: {}, precise: {}, trusty: {}, xenial: {}, bionic: {}, focal: {} })
112+
.to eql({ unset: {}, precise: {}, trusty: {}, xenial: {}, bionic: {}, focal: {}, jammy: {} })
113113
end
114114
end
115115

spec/build/addons/mariadb_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
it { should include_sexp [:cmd, "service mysql stop", sudo: true] }
2323
it { should include_sexp [:cmd, "apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 #{Travis::Build::Addons::Mariadb::MARIADB_GPG_KEY_OLD}", sudo: true] }
24-
it { should include_sexp [:cmd, 'add-apt-repository "deb http://%p/mariadb/repo/%p/ubuntu $TRAVIS_DIST main"' % [Travis::Build::Addons::Mariadb::MARIADB_MIRROR, config], sudo: true] }
24+
it { should include_sexp [:cmd, 'add-apt-repository --yes "deb http://%p/mariadb/repo/%p/ubuntu $TRAVIS_DIST main"' % [Travis::Build::Addons::Mariadb::MARIADB_MIRROR, config], sudo: true] }
2525
it { should include_sexp [:cmd, 'travis_apt_get_update', retry: true, echo: true] }
2626
it { should include_sexp [:cmd, "PACKAGES='mariadb-server-10.0'", echo: true] }
2727
it { should include_sexp [:cmd, "rm -rf /var/lib/mysql", sudo: true] }

0 commit comments

Comments
 (0)