Skip to content

Commit 74ad445

Browse files
committed
Try to clean the derived data before running the tests. Also added codecov integration
1 parent e83f42e commit 74ad445

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ script:
3333
- echo Build example
3434
- pod install --project-directory=Example
3535
- xcodebuild build -workspace SDWebImageWebPCoder.xcworkspace -scheme SDWebImageWebPCoderExample -sdk iphonesimulator -destination 'name=iPhone 6s' -configuration Debug | xcpretty -c
36+
37+
- echo Clean DerivedData
38+
- mkdir DerivedData
39+
- rm -rf ~/Library/Developer/Xcode/DerivedData
3640

3741
- echo Run the tests
3842
- xcodebuild test -workspace SDWebImageWebPCoder.xcworkspace -scheme 'SDWebImageWebPCoderTests' -sdk iphonesimulator -destination 'name=iPhone 6s' -configuration Debug | xcpretty -c
43+
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/iOS
44+
45+
after_success:
46+
- bash <(curl -s https://codecov.io/bash) -D './DerivedData/iOS' -J '^SDWebImageWebPCoder$' -F 'iOS'

0 commit comments

Comments
 (0)