Skip SwiftLint and SwiftFormat runs on CI build

Unfortunately, there seems to be no simpler way to tell a script in Xcode that it runs on CI.
This commit is contained in:
Danny Moesch 2020-08-28 18:29:15 +02:00 committed by Mingshen Sun
parent ea304f963c
commit 9b38cc0437
5 changed files with 62 additions and 8 deletions

View file

@ -6,11 +6,10 @@ addons:
- go
- gnupg2
- pass
- swiftformat
- swiftlint
update: true
before_install:
- echo -e "machine github.com\n login $GITHUB_ACCESS_TOKEN" >> ~/.netrc
- touch .ci-env
install:
- gem install bundler
- bundle install