-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python 2 reached EOL on January 1, 2020. Homebrew removed support for Python 2 about 2 weeks ago (can't find the specific commit.) This PR will continue to lint existing python2 scripts against best practices, but will only allow Python3 moving forward for new PRs. This also means that an updated Python 2 scripts will need to be converted to Python 3. I've tried to make it simple to remove Python2 support completely once this is designed to support Catalina only (since it doesn't include Python by default anyway.)
- Loading branch information
Showing
2 changed files
with
50 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,35 @@ | ||
language: objective-c | ||
osx_image: xcode11.2 | ||
|
||
|
||
addons: | ||
homebrew: | ||
packages: | ||
- python | ||
- shellcheck | ||
- luarocks | ||
- node | ||
- cpanminus | ||
- clisp | ||
- golang | ||
casks: | ||
- racket | ||
|
||
before_install: | ||
- brew outdated python || brew upgrade python | ||
- brew outdated python@2 || brew upgrade python@2 | ||
- pip2 install pyflakes | ||
- pip3 install virtualenv | ||
- mkdir ~/venv | ||
- virtualenv -p python2 ~/venv | ||
|
||
install: | ||
- pip3 install pyflakes | ||
- source ~/venv/bin/activate | ||
- pip install pyflakes | ||
- gem install rubocop | ||
- brew install shellcheck | ||
- brew install luarocks | ||
- luarocks install luacheck | ||
- brew outdated node || brew upgrade node | ||
- npm install -g jshint | ||
- brew install cpanminus && sudo cpanm Mozilla::CA | ||
- brew install clisp | ||
- brew outdated golang || brew upgrade golang | ||
- sudo cpanm Mozilla::CA | ||
- go get -u golang.org/x/lint/golint | ||
- brew cask install racket | ||
- raco pkg install --deps search-auto rackjure | ||
install: | ||
- export PATH="$PATH:${GOROOT:-$HOME/go}/bin" | ||
|
||
script: ./.test.py |