Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Commit

Permalink
disable strict key checking
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jul 23, 2017
1 parent d01b02c commit b5c8e83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
language: go
go: 1.8.1
install: make setup
install:
- make setup
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- echo -e "Host gitlab.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
script: make test
after_success:
- bash <(curl -s https://codecov.io/bash)
Expand Down
4 changes: 2 additions & 2 deletions project/git_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ func TestDownloadAllKinds(t *testing.T) {
"git://github.com/caarlos0/ports.git",
"https://gitlab.com/caarlos0/test.git",
"git@gitlab.com:caarlos0/test.git",
// "ssh://git@github.com/caarlos0/ports.git", FIXME
// "git@github.com:caarlos0/ports.git", FIXME
"ssh://git@github.com/caarlos0/ports.git",
"git@github.com:caarlos0/ports.git",
}
for _, url := range urls {
home := home()
Expand Down

0 comments on commit b5c8e83

Please sign in to comment.