Skip to content

Commit cd59131

Browse files
authored
Du 35/mac removal (#3469)
* Update for-beginners.md * Update customizing-the-build.md * Update gui-and-headless-browsers.md * Update c.md * Update c11-cpp11-and-beyond-and-toolchains.md removing macOS mentiones as requested in DU-35. Mac removal starting April 2025 * Update cpp.md * Update csharp.md * Update dart.md * Update java.md * Update julia.md * Update python.md * Update r.md * Update ruby.md * Update database-setup.md * Update caching.md * Update linux.md * Update installing-dependencies.md * Update coverity-scan.md * Update encrypting-files.md * Update platformio.md * Update apps.md * Update smalltalk.md * Update ip-addresses.md * Update build-environment-updates.md * Update environment-variables.md * Update freebsd.md * Update windows.md * Update overview.md * Update common-build-problems.md * Update billing-overview.md * Update onboarding.md * Update sidebar.html * Update languages.yml
1 parent d95a4e3 commit cd59131

33 files changed

+88
-584
lines changed

_data/languages.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Julia: "/user/languages/julia/"
2121
MATLAB: "/user/languages/matlab/"
2222
Minimal: "/user/languages/minimal-and-generic/"
2323
Nix: "/user/languages/nix/"
24-
Objective-C: "/user/languages/objective-c/"
2524
Perl: "/user/languages/perl/"
2625
Perl6: "/user/languages/perl6/"
2726
PHP: "/user/languages/php/"
@@ -31,5 +30,4 @@ Ruby: "/user/languages/ruby/"
3130
Rust: "/user/languages/rust/"
3231
Scala: "/user/languages/scala/"
3332
Smalltalk: "/user/languages/smalltalk/"
34-
Swift: "/user/languages/objective-c/"
3533
Visual Basic: "/user/languages/csharp/"

_includes/c11-cpp11-and-beyond-and-toolchains.md

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -65,38 +65,6 @@ before_install:
6565
```
6666
{: data-file=".travis.yml"}
6767
68-
### GCC on macOS
69-
70-
On macOS, `gcc` is an alias for `clang`, and `g++` is an alias for `clang++`.
71-
So you must set CC and CXX to specific `gcc`/`g++` versions:
72-
73-
```yaml
74-
matrix:
75-
include:
76-
- os: osx
77-
osx_image: xcode8
78-
env:
79-
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
80-
81-
- os: osx
82-
osx_image: xcode8
83-
env:
84-
- MATRIX_EVAL="brew install gcc5 && CC=gcc-5 && CXX=g++-5"
85-
86-
- os: osx
87-
osx_image: xcode8
88-
env:
89-
- MATRIX_EVAL="brew install gcc6 && CC=gcc-6 && CXX=g++-6"
90-
91-
- os: osx
92-
osx_image: xcode8
93-
env:
94-
- MATRIX_EVAL="brew install gcc && CC=gcc-7 && CXX=g++-7"
95-
96-
before_install:
97-
- eval "${MATRIX_EVAL}"
98-
```
99-
{: data-file=".travis.yml"}
10068
10169
### GCC on FreeBSD
10270
@@ -203,23 +171,6 @@ before_install:
203171
```
204172
{: data-file=".travis.yml"}
205173

206-
### Clang on macOS
207-
208-
On macOS, the version of `clang` is controlled by the choice of `osx_image`.
209-
You can find [here](/user/reference/osx/#macos-version) the list of available `osx_image`.
210-
211-
```yaml
212-
matrix:
213-
 include:
214-
   - os: osx
215-
     osx_image: xcode10.1
216-
217-
- os: osx
218-
     osx_image: xcode9.4
219-
```
220-
{: data-file=".travis.yml"}
221-
222-
You can find the `clang` version shipped by Xcode [here](https://trac.macports.org/wiki/XcodeVersionInfo).
223174

224175
### Clang on FreeBSD
225176

@@ -263,4 +214,4 @@ addons:
263214
```
264215
{: data-file=".travis.yml"}
265216

266-
On macOS, the version of `cmake` is controlled by the choice of `osx_image`.
217+

_includes/sidebar.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ <h3>CI Environment Reference</h3>
7474
<ul>
7575
<li class="is-overview"><a href="/user/reference/overview/">Overview</a></li>
7676
<li><a href="/user/reference/linux/">Ubuntu Linux CI Environment References</a></li>
77-
<li><a href="/user/reference/osx/">macOS CI Environment Reference</a></li>
7877
<li><a href="/user/reference/windows/">Windows CI Environment Reference</a></li>
7978
<li><a href="/user/reference/freebsd/">FreeBSD CI Environment Reference</a></li>
8079
<li><a href="/user/multi-os/">Building on Multiple Operating Systems</a></li>

user/apps.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ There is a wide range of tools you can use to interact with Travis CI:
88

99
- **[Websites](#websites)**: [Full Web Clients](#full-web-clients), [Dashboards](#dashboards), [Tools](#tools)
1010
- **[Mobile Applications](#mobile)**: [Android](#android), [iOS](#ios), [Windows Phone](#windows-phone)
11-
- **[Desktop](#desktop)**: [macOS](#macos), [Linux](#linux), [Cross Platform](#cross-platform)
11+
- **[Desktop](#desktop)**: [Linux](#linux), [Cross Platform](#cross-platform)
1212
- **[Command Line Tools](#commandline)**: [Full Clients](#full-clients), [Build Monitoring](#build-monitoring), [Generators](#generators)
1313
- **[Plugins](#plugins)**: [Google Chrome](#google-chrome), [Opera](#opera), [Editors](#editors), [Other](#other)
1414
- **[Libraries](#libraries)**: [Ruby](#ruby), [JavaScript](#javascript), [PHP](#php), [Python](#python), [Elixir](#elixir), [R](#r), [Go](#go)
@@ -187,25 +187,6 @@ By Tim Felgentreff
187187

188188
If you are looking for **desktop notifications**, our command line client [supports them](https://github.com/travis-ci/travis.rb#monitor).
189189

190-
## macOS
191-
192-
<blockquote class="beta">
193-
<p>
194-
Travis CI will stop support for macOS starting March 31st, 2025.
195-
</p>
196-
</blockquote>
197-
198-
### CCMenu
199-
200-
![CCMenu](/images/apps/ccmenu.jpg){:.app}
201-
202-
macOS status bar app<br>
203-
By ThoughtWorks Inc.
204-
205-
- [website](http://ccmenu.org/)
206-
- [app store](https://itunes.apple.com/us/app/ccmenu/id603117688)
207-
- [tutorial](/user/cc-menu/)
208-
209190
## Linux
210191

211192
### BuildNotify

user/billing-overview.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ Purchase only the credits you need and use them until you run out. Please see mo
7676
> If a user/organization on the 2 concurrent jobs Plan executes build with jobs for `os: linux` and `os: freebsd`, it will execute as soon as the concurrency capacity is available for particular build jobs.
7777
7878

79+
7980
### Subscribe to a Concurrency-based Plan
8081

8182
1. Sign in to Travis CI with the [Version Control System of your choice](/user/onboarding/).
@@ -400,7 +401,7 @@ vm:
400401
```
401402
{: data-file=".travis.yml"}
402403

403-
Instance sizes do not apply to Windows build jobs. Visit our [CI Environment Overview page](/user/reference/overview/#gpu-vm-instance-size) for information on the available GPU VM sizes, operating systems, and CPU architecture.
404+
Instance sizes do not apply to Windows build jobs. Visit our [CI Environment Overview page](/user/reference/overview/#gpu-vm-instance-size) for information on the available GPU VM sizes, operating systems, and CPU architecture.
404405

405406
To use instance sizes:
406407

user/build-environment-updates.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,6 @@ layout: en
2222
{% endfor %}
2323
</ul>
2424

25-
## macOS Build Environment Updates
26-
27-
<blockquote class="beta">
28-
<p>
29-
Travis CI will stop support for macOS starting March 31st, 2025.
30-
</p>
31-
</blockquote>
32-
33-
<ul class="list--links">
34-
{% assign reverse_pages = site.pages | reverse %}
35-
{% for page in reverse_pages %}
36-
{% if page.category == 'mac_build_env_updates' %}
37-
<li><a href="{{ page.url }}" title="{{ page.title }}">{{ page.url | remove:'/user/build-environment-updates/' | remove: '/' }}</a></li>
38-
{% endif %}
39-
{% endfor %}
40-
</ul>
4125

4226
### Atom feed
4327

user/caching.md

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -202,25 +202,6 @@ cache: ccache
202202

203203
to cache `$HOME/.ccache` and automatically add `/usr/lib/ccache` to your `$PATH`.
204204

205-
#### ccache on macOS
206-
207-
<blockquote class="beta">
208-
<p>
209-
Travis CI will stop support for macOS starting March 31st, 2025.
210-
</p>
211-
</blockquote>
212-
213-
ccache is not installed on macOS environments, but you can install it by adding:
214-
215-
```yaml
216-
install:
217-
- brew install ccache
218-
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
219-
```
220-
{: data-file=".travis.yml"}
221-
222-
> Note that this creates wrappers around your default gcc and g++ compilers.
223-
224205
### R package cache
225206

226207
For caching R packages, use:
@@ -436,12 +417,11 @@ jobs should use.
436417

437418
These factors are:
438419

439-
1. OS name (currently, `linux`, `osx`, or `windows`)
420+
1. OS name (currently, `linux` or `windows`)
440421
2. OS distribution (for Linux, `noble`, `jammy`, `focal`, `bionic`, `xenial`, `trusty`, or `precise`)
441-
3. macOS image name (e.g., `xcode7.2`)
442-
4. Names and values of visible environment variables set in `.travis.yml` or Settings panel
443-
5. Language runtime version (for the language specified in the `language` key) if applicable
444-
6. For Bundler-aware jobs, the name of the `Gemfile` used
422+
3. Names and values of visible environment variables set in `.travis.yml` or Settings panel
423+
4. Language runtime version (for the language specified in the `language` key) if applicable
424+
5. For Bundler-aware jobs, the name of the `Gemfile` used
445425

446426
If these characteristics are shared by more than one job in a build matrix,
447427
they will share the same URL on the network.

user/common-build-problems.md

Lines changed: 2 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -178,103 +178,8 @@ RSpec.configure do |c|
178178
end
179179
```
180180

181-
## **Mac**: macOS Mavericks (10.9) Code Signing Errors
182181

183-
<blockquote class="beta">
184-
<p>
185-
Travis CI will stop support for macOS starting March 31st, 2025.
186-
</p>
187-
</blockquote>
188-
189-
With Mavericks, quite a lot has changed in terms of code signing and the keychain application.
190-
191-
Signs of issues can be error messages stating that an identity can't be found and that "User
192-
interaction is not allowed."
193-
194-
The keychain must be marked as the default keychain, must be unlocked explicitly and the build needs to make sure that the keychain isn't locked before the critical point in the build is reached. The following set of commands takes care
195-
of this:
196-
197-
```
198-
KEY_CHAIN=ios-build.keychain
199-
security create-keychain -p travis $KEY_CHAIN
200-
# Make the keychain the default so identities are found
201-
security default-keychain -s $KEY_CHAIN
202-
# Unlock the keychain
203-
security unlock-keychain -p travis $KEY_CHAIN
204-
# Set keychain locking timeout to 3600 seconds
205-
security set-keychain-settings -t 3600 -u $KEY_CHAIN
206-
```
207-
208-
## **Mac**: macOS Sierra (10.12) Code Signing Errors
209-
210-
<blockquote class="beta">
211-
<p>
212-
Travis CI will stop support for macOS starting March 31st, 2025.
213-
</p>
214-
</blockquote>
215-
216-
With the introduction of macOS Sierra (10.12) on our infrastructure, we've seen build jobs that were hanging at the codesigning step of the build process. Here's some information on how to recognize this issue and fix it.
217-
218-
Your build is running on macOS Sierra (10.12), if the `osx_image` in your .travis.yml file is `xcode8.3` or higher. See [the macOS Build Environment documentation](https://docs.travis-ci.com/user/reference/osx/) to know which macOS version is associated with each image.
219-
220-
The following lines in your build log possibly indicate an occurrence of this issue:
221-
222-
**Example: Signing**
223-
224-
```
225-
▸ Signing /Users/travis/Library/Developer/Xcode/DerivedData/PresenterKit-ggzwtlifkopsnbffbqrmtydtmafv/Build/Intermediates/CodeCoverage/Products/Debug-iphonesimulator/project.xctest
226-
227-
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
228-
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
229-
230-
The build has been terminated
231-
```
232-
233-
**Example: Embed Pods Frameworks**
234-
235-
```
236-
▸ Running script '[CP] Embed Pods Frameworks'
237-
238-
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
239-
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
240-
241-
The build has been terminated
242-
```
243-
244-
To fix this issue, you will need to add the following command **after** you have imported your certificate:
245-
246-
```
247-
security set-key-partition-list -S apple-tool:,apple: -s -k keychainPass keychainName
248-
```
249-
250-
Where:
251-
252-
- `keychainPass` is the password of your keychain
253-
- `keychainName` is the name of your keychain
254-
255-
Here's an example of where to put the command in context:
256-
257-
```bash
258-
# Create the keychain with a password
259-
security create-keychain -p travis ios-build.keychain
260-
261-
# Make the custom keychain default, so xcodebuild will use it for signing
262-
security default-keychain -s ios-build.keychain
263-
264-
# Unlock the keychain
265-
security unlock-keychain -p travis ios-build.keychain
266-
267-
# Add certificates to keychain and allow codesign to access them
268-
security import ./Provisioning/certs/apple.cer -k ~/Library/Keychains/ios-build.keychain -T /usr/bin/codesign
269-
security import ./Provisioning/certs/distribution.cer -k ~/Library/Keychains/ios-build.keychain -T /usr/bin/codesign
270-
security import ./Provisioning/certs/distribution.p12 -k ~/Library/Keychains/ios-build.keychain -P $KEY_PASSWORD -T /usr/bin/codesign
271-
272-
security set-key-partition-list -S apple-tool:,apple: -s -k travis ios-build.keychain
273-
```
274-
275-
> IMPORTANT: It's mandatory to create a keychain with a password for the command `security set-key-partition-list` to work.
276-
277-
### Fastlane
182+
## Fastlane
278183

279184
If you are using [Fastlane](https://fastlane.tools/) to sign your app (e.g. with [Fastlane Match](https://github.com/fastlane/fastlane/tree/master/match)), you will need to do something similar to the following in your `Fastfile`:
280185

@@ -296,7 +201,7 @@ If you are using [Fastlane](https://fastlane.tools/) to sign your app (e.g. with
296201
)
297202
```
298203

299-
If you are using `import_certificate` directly to import your certificates, it's mandatory to pass your keychain's password as a parameter e.g.
204+
If you are using `import_certificate` directly to import your certificates, it's mandatory to pass your keychain's password as a parameter, e.g.
300205

301206
```
302207
keychain_name = "ios-build.keychain"
@@ -322,53 +227,6 @@ import_certificate(
322227
You can also have more details in [this GitHub issue](https://github.com/travis-ci/travis-ci/issues/6791) starting at [this comment](https://github.com/travis-ci/travis-ci/issues/6791#issuecomment-261071904).
323228

324229

325-
## **Mac**: Errors running CocoaPods
326-
327-
<blockquote class="beta">
328-
<p>
329-
Travis CI will stop support for macOS starting March 31st, 2025.
330-
</p>
331-
</blockquote>
332-
333-
CocoaPods usage can currently fail for a few reasons.
334-
335-
### Newer version of CocoaPods required
336-
337-
Most Pods now require CocoaPods 0.32.1, but we still have 0.21 preinstalled. If
338-
you're seeing this error, add this to your `.travis.yml`:
339-
340-
```yaml
341-
before_install:
342-
- gem install cocoapods -v '0.32.1'
343-
```
344-
{: data-file=".travis.yml"}
345-
346-
### CocoaPods cannot be found
347-
348-
CocoaPods isn't currently installed on all available Rubies, which unfortunately
349-
means it will fail when using the default Ruby, which is 2.0.0.
350-
351-
To work around this issue, you can either install CocoaPods manually as shown
352-
above, or you can switch to Ruby 1.9.3 in your `.travis.yml`, which should work
353-
without any issues:
354-
355-
```yaml
356-
rvm: 1.9.3
357-
```
358-
{: data-file=".travis.yml"}
359-
360-
### CocoaPods fails with a segmentation fault
361-
362-
On Ruby 2.0.0, CocoaPods has been seen crashing with a segmentation fault.
363-
364-
You can work around the issue by using Ruby 1.9.3, which hasn't shown these
365-
issues. Add this to your `.travis.yml`:
366-
367-
```yaml
368-
rvm: 1.9.3
369-
```
370-
{: data-file=".travis.yml"}
371-
372230
## **System**: Required language pack not installed
373231

374232
The Travis CI build environments currently have only the en_US language pack

user/coverity-scan.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@ See more details about Coverity Scan in the [FAQ](https://scan.coverity.com/faq)
2222

2323
It's probably overkill to run static analysis on each and every commit of your project. To increase the availability of the free service to more projects, the addon is designed by default to run analysis on a per-branch basis. We recommend you create a branch named `coverity_scan`, which you can merge into whenever you would like to trigger analysis. See the [FAQ](https://scan.coverity.com/faq#frequency) for information about build submission frequency.
2424

25-
## macOS support
26-
27-
<blockquote class="beta">
28-
<p>
29-
Travis CI will stop support for macOS starting March 31st, 2025.
30-
</p>
31-
</blockquote>
32-
33-
The Coverity Scan addon doesn't work on macOS versions with the SIP feature enabled i.e. on macOS El Capitan (10.11) and higher. Specifically on Travis CI, it currently only works on our Xcode 6.4 image (i.e. with `osx_image: xcode6.4`). However, it's possible to make it work with custom scripts or commands. Please reach out to [support@travis-ci.com](mailto:support@travis-ci.com) to learn how.
3425

3526
## Step-by-step Configuration
3627

0 commit comments

Comments
 (0)