File tree Expand file tree Collapse file tree 2 files changed +34
-4
lines changed Expand file tree Collapse file tree 2 files changed +34
-4
lines changed Original file line number Diff line number Diff line change 88
88
script :
89
89
- set -o errexit; source ./ci/extended_lint/06_script.sh
90
90
91
+ - stage : extended-lint
92
+ name : ' lint macOS 10.12 (compat)'
93
+ os : osx
94
+ # Use the earliest macOS that can build our lint dependencies:
95
+ # Xcode 8.3.3, macOS 10.12, JDK 1.8.0_112-b16
96
+ # https://docs.travis-ci.com/user/reference/osx/#OS-X-Version
97
+ osx_image : xcode8.3
98
+ # TODO: if you're updating osx_image, try using "rvm:" to supply the
99
+ # version of ruby required by homebrew. Despite this "rvm:" declaration,
100
+ # brew update installs ruby 2.3.7 as its first action.
101
+ language : ruby
102
+ rvm :
103
+ - 2.3.7
104
+ env :
105
+ cache : false
106
+ install :
107
+ - set -o errexit; source ./ci/lint/04_install.sh
108
+ before_script :
109
+ - set -o errexit; source ./ci/lint/05_before_script.sh
110
+ script :
111
+ - set -o errexit; source ./ci/lint/06_script.sh
112
+
91
113
- stage : test
92
114
name : ' ARM [GOAL: install] [no unit or functional tests]'
93
115
env : >-
Original file line number Diff line number Diff line change 6
6
7
7
export LC_ALL=C
8
8
9
+ if [ " $TRAVIS_OS_NAME " == " osx" ]; then
10
+ # update first to install required ruby dependency
11
+ travis_retry brew update
12
+ travis_retry brew install shellcheck
13
+ travis_retry brew upgrade python
14
+ export PATH=" $( brew --prefix python) /bin:$PATH "
15
+ else
16
+ SHELLCHECK_VERSION=v0.6.0
17
+ travis_retry curl --silent " https://storage.googleapis.com/shellcheck/shellcheck-${SHELLCHECK_VERSION} .linux.x86_64.tar.xz" | tar --xz -xf - --directory /tmp/
18
+ export PATH=" /tmp/shellcheck-${SHELLCHECK_VERSION} :${PATH} "
19
+ fi
20
+
9
21
travis_retry pip3 install codespell==1.15.0
10
22
travis_retry pip3 install flake8==3.7.8
11
-
12
- SHELLCHECK_VERSION=v0.6.0
13
- curl -s " https://storage.googleapis.com/shellcheck/shellcheck-${SHELLCHECK_VERSION} .linux.x86_64.tar.xz" | tar --xz -xf - --directory /tmp/
14
- export PATH=" /tmp/shellcheck-${SHELLCHECK_VERSION} :${PATH} "
You can’t perform that action at this time.
0 commit comments