diff --git a/.travis.yml b/.travis.yml index 1a06442..cdd02b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,15 +10,17 @@ install: - gem update fastlane before_script: - | - if [ ! $(git diff --name-only master..."$TRAVIS_COMMIT" | grep "Carthage.lock") ] && [ -d "Carthage/Build" ]; then + if [ ! $(git diff --name-only master..."$TRAVIS_COMMIT" | grep "Cartfile.resolved") ] && [ -d "Carthage/Build" ]; then echo "Use cached carthage dependencies." + ls -ld Carthage/Build/iOS/*framework else echo "Bootstrap carthage dependencies." travis_wait 45 carthage bootstrap --platform iOS fi - | - if [ ! $(git diff --name-only master..."$TRAVIS_COMMIT" | grep -E "gopenpgp_build.sh|gopenpgpwrapper.go") ] && [ -d "go/dist" ]; then + if [ ! $(git diff --name-only master..."$TRAVIS_COMMIT" | grep -E "gopenpgp_build.sh|gopenpgpwrapper.go") ] && [ -d "go/dist/Gopenpgpwrapper.framework" ]; then echo "Use cached go dependencies." + ls -ld go/dist/*framework else echo "Build go dependencies." ./gopenpgp_build.sh