We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26bfe67 commit d7102b5Copy full SHA for d7102b5
1 file changed
.github/workflows/validate-travis.yml
@@ -0,0 +1,29 @@
1
+name: Validate Travis config
2
+
3
+on:
4
+ pull_request:
5
+ paths:
6
+ - '.travis.yml'
7
+ - '.github/workflows/validate-travis.yml'
8
+ push:
9
+ branches:
10
+ - master
11
+ - main
12
13
14
15
+jobs:
16
+ yaml:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - name: Parse .travis.yml
21
+ run: ruby -e 'require "yaml"; YAML.load_file(".travis.yml"); puts "travis.yml: yaml ok"'
22
+ - name: Ensure macOS matrix is enabled
23
+ run: |
24
+ grep -q '^[[:space:]]*- os: osx' .travis.yml
25
+ echo "macOS matrix entry present"
26
+ - name: Ensure macOS skips broken Homebrew OpenCV bootstrap
27
28
+ awk '/TRAVIS_OS_NAME.*osx/,/fi/' .travis.yml | grep -q 'true'
29
+ echo "macOS before_install uses no-op (no opencv brew install)"
0 commit comments