Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Merge pull request #134 from bakape/travis-auto-deps

travis: Automatically download deps
Cette révision appartient à :
Eliot Whalan 2017-05-07 20:17:38 +10:00 révisé par GitHub
révision 0b3c55860a

Voir le fichier

@ -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/