Merge pull request #134 from bakape/travis-auto-deps
travis: Automatically download deps
Cette révision appartient à :
révision
0b3c55860a
1 fichiers modifiés avec 2 ajouts et 12 suppressions
14
.travis.yml
14
.travis.yml
|
@ -4,21 +4,11 @@ go:
|
|||
before_install:
|
||||
- sudo apt-get install gcc-mingw-w64 gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 binutils-mingw-w64-i686 binutils-mingw-w64-x86-64
|
||||
install:
|
||||
- go get github.com/gorilla/feeds
|
||||
- go get github.com/gorilla/mux
|
||||
- go get github.com/mattn/go-sqlite3
|
||||
- go get github.com/jinzhu/gorm
|
||||
- go get github.com/lib/pq
|
||||
- go get github.com/Sirupsen/logrus
|
||||
- go get gopkg.in/natefinch/lumberjack.v2
|
||||
- go get gopkg.in/gomail.v2
|
||||
- go get github.com/gorilla/securecookie
|
||||
- go get golang.org/x/crypto/bcrypt
|
||||
- go get github.com/nicksnyder/go-i18n/i18n
|
||||
- go get github.com/microcosm-cc/bluemonday
|
||||
- go get github.com/tcnksm/ghr
|
||||
|
||||
script:
|
||||
# Downloads deps automatically. No need to add manually.
|
||||
- go list -f '{{.Deps}}' | tr "[" " " | tr "]" " " | xargs go list -e -f '{{if not .Standard}}{{.ImportPath}}{{end}}' | grep -v 'github.com/ewhal/nyaa' | xargs go get -v
|
||||
- go build
|
||||
- ./package.sh
|
||||
- ghr --username ewhal --token $GITHUB_TOKEN --replace --prerelease --debug pre-release dist/
|
||||
|
|
Référencer dans un nouveau ticket