2017-10-10 4 views
1

travis에서 프로젝트를 빌드하는 데 문제가 있습니다. 그것은 travis가 지원해야하는 신속한 4로 작성되었습니다. 종속성을 가져 오는 데 문제가있는 것 같지만 "내 컴퓨터에서 작동합니다." swift buildswift test 적어도 난 travis '측면에있을 수있는 문제로 주위에 힘든 시간을 보내고있다.Travis-ci 관련 문제 종속성을 가져올 수 없습니다. Swift Package Manager

여기에 비슷한 문제를 다루는 사람이 있으며 무엇이 잘못되었는지 알고 있나요?

용액은 install를 추가

11.10s$ swift build 
Cloning https://github.com/valdirunars/BigIntCompress.git 
error: terminated(128): git clone --shared/Users/travis/build/valdirunars/BioSwift/.build/repositories/BigIntCompress.git-5255985680209734865/Users/travis/build/valdirunars/BioSwift/.build/checkouts/BigIntCompress.git-5255985680209734865 
error: product dependency 'BigInt' not found 
error: product dependency 'BigIntCompress' not found 
The command "swift build" exited with 1. 
0.58s$ swift test 
Cloning https://github.com/valdirunars/BigIntCompress.git 
error: terminated(128): git clone --shared  /Users/travis/build/valdirunars/BioSwift/.build/repositories/BigIntCompress.git-5255985680209734865 /Users/travis/build/valdirunars/BioSwift/.build/checkouts/BigIntCompress.git-5255985680209734865 
error: product dependency 'BigInt' not found 
error: product dependency 'BigIntCompress' not found 
The command "swift test" exited with 1. 
Done. Your build exited with 1. 

답변

1

트래비스 밝혀 출력이합니다 (.yml 단위) script 단계 때 의존성을 가져 오는 실패

os: 
    - osx 
language: swift 
osx_image: xcode9 
script: 
    - swift build 
    - swift test 

YAML

이었다 모든 의존성을 가져 오는 태그.

os: 
    - osx 
language: swift 
osx_image: xcode9 
install: swift package update 
script: 
    - swift build 
    - swift test