Skip to content

Commit a15abdd

Browse files
committed
Install swiftlint on Travis CI
1 parent 5f5f48b commit a15abdd

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ cache:
1212
before_install:
1313
- export LANG=en_US.UTF-8
1414
install:
15-
- bundle install --without development --deployment --jobs=3 --retry=3
16-
- bundle exec pod install --no-repo-update
15+
- make install
1716
script:
1817
- xcodebuild -project ICInputAccessory.xcodeproj -scheme ICInputAccessory-iOS -sdk iphonesimulator -destination "name=iPhone 6,OS=$VERSION" clean build | xcpretty -c
1918
- xcodebuild -workspace ICInputAccessory.xcworkspace -scheme Example -sdk iphonesimulator -destination "name=iPhone 6,OS=$VERSION" clean test | xcpretty -c

Brewfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
brew "swiftlint"
2+
brew "xcproj"

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
1+
install: brew-install bundle-install pod-install
2+
3+
brew-install:
4+
brew tap homebrew/bundle
5+
brew bundle
6+
7+
bundle-install:
8+
bundle install --without development --deployment --jobs=3 --retry=3
9+
110
pod-install:
211
bundle exec pod install --no-repo-update

0 commit comments

Comments
 (0)