Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Add Continuous Integration #56

Merged
merged 58 commits into from
Mar 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
34e095f
Add .travis.yml configuration
mammuth Jan 14, 2017
44b3a00
Share TUM Campus App scheme so Travis can find it
mammuth Jan 14, 2017
11721d3
Use fastlane on travis instead of travis default xctool or apples xco…
mammuth Jan 14, 2017
19a5ba3
Manually install fastlane on travis
mammuth Jan 14, 2017
688f0a2
Make travis cache the pods
mammuth Jan 14, 2017
94fd3c3
Try to fix travis fastlane build
mammuth Jan 14, 2017
9a5aeca
Revert "Make travis cache the pods"
mammuth Jan 14, 2017
1addcd9
verbose fastlane in order to get clues on the error
mammuth Jan 14, 2017
3d3e6f9
try to fix xcodebuild simulator timeout
mammuth Jan 14, 2017
868a5ac
try to fix xcodebuild simulator timeout
mammuth Jan 14, 2017
5f3a3d6
try to fix xcodebuild simulator timeout
mammuth Jan 14, 2017
4670c15
try to fix xcodebuild simulator timeout
mammuth Jan 14, 2017
88edc2f
try to fix xcodebuild simulator timeout
mammuth Jan 14, 2017
cee4e50
try to fix xcodebuild simulator timeout
mammuth Jan 14, 2017
2108f6f
try to fix xcodebuild simulator timeout
mammuth Jan 14, 2017
a786f3a
try to fix xcodebuild simulator timeout
mammuth Jan 14, 2017
4982864
language should be not needed
mammuth Jan 14, 2017
555ce8b
Revert "language should be not needed"
mammuth Jan 14, 2017
fab55ea
Check whether Travis fails when a UITest fails
mammuth Jan 15, 2017
dbc0ad1
Check whether Travis succeeds when UITest suceeds
mammuth Jan 15, 2017
7557c0c
Try fix for Travis simulator startup timeout
mammuth Jan 15, 2017
db7a221
Disable UI Tests, add UnitTests
mammuth Jan 15, 2017
75a7803
Add Simple UnitTest, Swiftlint, Codecoverage and sonar
mammuth Jan 20, 2017
b5ef582
Trying Travis env variable encryption
mammuth Jan 20, 2017
912b416
Pass all tokens as command arguments
mammuth Jan 20, 2017
f0c8db4
try to get ToDo for sonar
mammuth Jan 20, 2017
7122d7f
Run different tasks depending on whether it’s an integration in maste…
mammuth Jan 21, 2017
a28d67f
Run push builds on travis only when merging into master
mammuth Jan 21, 2017
61559ed
Fix fastfile error
mammuth Jan 21, 2017
de0a3c7
Fix Travis performing wrong task
mammuth Jan 21, 2017
3223071
Add something for sonar to complain
mammuth Jan 21, 2017
4ac878f
Update coverage on integration task
mammuth Jan 29, 2017
22b6af6
Update Fastlane version
mammuth Jan 30, 2017
2d506d6
Add UITests
mammuth Jan 30, 2017
36819c7
Update fastlane gem install
mammuth Jan 30, 2017
85f581f
Test UITests
mammuth Jan 30, 2017
7382ba0
Test UITests
mammuth Jan 30, 2017
4586d13
Explicitly start simulator
mammuth Jan 30, 2017
d78c884
Fix UnitTest bundle identifier
mammuth Jan 30, 2017
5d25baf
Try to fix Travis bug
mammuth Jan 30, 2017
c3ebae4
Try to fix Travis bug
mammuth Jan 31, 2017
253a1b3
Trigger build
mammuth Mar 4, 2017
769d616
Trigger build
mammuth Mar 4, 2017
ef8fa15
Trigger build
mammuth Mar 4, 2017
21c9b57
Update fastlane, introduce new unittest-target, fix pod linking, add …
mammuth Mar 4, 2017
6d671e2
[ci skip] uuh, that code smells
mammuth Mar 5, 2017
6abcaa4
[ci skip] uuh, that code smells
mammuth Mar 5, 2017
a2591c4
[ci skip] uuh, that code smells
mammuth Mar 5, 2017
e0789d1
Fix Code Coverage, exclude Pods in the linter, only run ensure_git_st…
mammuth Mar 5, 2017
b267b76
Increase Timeout
mammuth Mar 5, 2017
67c3180
Some cleanups
mammuth Mar 5, 2017
95aec96
Update Sonar properties to match the official project
mammuth Mar 5, 2017
a2e5690
Merge branch 'master' of github.com:TCA-Team/iOS into travis-merge
mammuth Mar 5, 2017
e51fa77
Remove old references
mammuth Mar 5, 2017
d35db70
Fix Pods not built
mammuth Mar 5, 2017
5c1829a
logging for env variable
mammuth Mar 5, 2017
28914d7
Don’t use Sonar and the GitHub Bot when the PR is coming from a fork
mammuth Mar 5, 2017
00c3ef9
Added missing file
mammuth Mar 5, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ Carthage/Build
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md

fastlane/report.xml
fastlane/reports/
fastlane/screenshots
.sonar

# Code Injection
#
Expand Down
33 changes: 33 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Fastlane runs swiftlint from one directory above where the Fastfile lives
# so make sure all the paths are relative in that regard.

# Find all the available rules by running:
# swiftlint rules

disabled_rules:
trailing_whitespace

opt_in_rules:

included:
- ./
# paths to ignore during linting. Takes precedence over `included`.
excluded:
- Pods

# configurable rules can be customized from this configuration file
# binary rules can set their severity level
line_length:
warning: 250
error: 400

type_body_length:
warning: 300
error: 400

file_length:
warning: 1000
error: 1500

# reporter type (xcode, json, csv, checkstyle)
reporter: "json"
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: objective-c # [sic]. Travis uses objective-c just to determine it needs to use the xcode cli
osx_image: xcode8.2

# cache:
# directories:
# - $HOME/.sonar

branches:
# Only run push builds for the master branch. PR builds are run nevertheless
only:
- master

before_install:
- echo $TRAVIS_SECURE_ENV_VARS
- ./fastlane/before_install.sh

script:
- fastlane snapshot reset_simulators --force # Workaround for Travis bug https://github.com/travis-ci/travis-ci/issues/7031
- ./fastlane/run.sh # Decide which lane to run

notifications:
email: false
3 changes: 0 additions & 3 deletions Campus App.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading