Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/.travis.yml

34 lignes
1,6 Kio
YAML
Brut Vue normale Historique

language: go
go:
2017-07-29 13:09:10 +02:00
- tip
OAuth API [done] (#1275) * Initial Commit for OAuth API This builds and run and return the right error. Need to test it and then adding all users as possible client * Added mising dependency * just compile already... * Fixing template test * Imrpovements Moved db stuff in models Added some tests Added form in modpanel to add/update a client Added controllers for add/update of client * Added Forms + speed improvements Controller oauth client listing + html Controller oauth client delete + messages Messages on comment delete New ES config that disable ES if set to false. Improve load speed on local development Fix a load config bug Fix index admin & translation string sign_out broken by @ewhal * Sanitize empty strig in form array + css Multiple empty array of strings are sanitized for the oauth client create form Added some css for the form display * Upload and Create form works * Fix splitting response types * Removing required on secret when updating * fix travis error * Fix travis template test * Update dependency * Moved to jinzhu instead of azhao * randomizen secret on creation * Final touch on oath api improved display name fix grant form csrf fix login csrf on oauth * Fix gorm test * fix template test * Fixing deleted dependency issue * Make travis faster * Fix typo * Fix csrf for api calls * This shouldn't be exempt * Removing hard coded hash @ewhal Don't forget to replace the hash in tokens.go with another one * Added an example on how to use OAuth middleware * Renamed fosite utils to oauth2 utils
2017-07-28 05:46:40 +02:00
gobuild_args: -x -ldflags "-X main.buildversion=$(git rev-parse HEAD)"
2017-05-07 12:12:52 +02:00
before_install:
2017-07-29 12:59:54 +02:00
- 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 ansible
- go get -u github.com/tools/godep
2017-07-30 01:21:47 +02:00
- go get github.com/go-playground/overalls
2017-07-29 14:04:53 +02:00
- go get golang.org/x/tools/cmd/cover
2017-07-29 13:09:10 +02:00
- go get github.com/mattn/goveralls
before_script:
- go vet
2017-05-07 23:52:28 +02:00
- go test -v ./...
after_success:
2017-07-30 01:28:00 +02:00
- overalls -project=github.com/NyaaPantsu/nyaa -covermode=count -debug
2017-07-31 03:20:09 +02:00
- goveralls -coverprofile="overalls.coverprofile" -service=travis-ci
install:
2017-07-29 12:59:54 +02:00
- export GOPATH="${TRAVIS_BUILD_DIR}/vendor:$GOPATH"
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
2017-05-07 23:52:28 +02:00
before_deploy:
2017-07-29 12:59:54 +02:00
- "./package.sh"
2017-05-07 23:52:28 +02:00
deploy:
2017-07-29 12:59:54 +02:00
provider: releases
api_key:
secure: Nz2M3ZbQumKGVga/nnZnz1VXikRkGoLXk5FoH4uOl6GF6rlUNmtvJYs34LWF0/CMswBXNhjCggEaMMtZC+j66ZjoAdHBXRfrOb6jisNJRF6FNk7Kob6W3itCEOTvEL/8a+k2fI95cLqOXDLR2tIX03nchb8rDmVALs7P4gQgy2Y7UAo/aa/0G+OhsSJrlQWt0MT9OKGoIXpeKZjOG3wO/YwqfDwRTItuA9DLFoMQ0gwQfgT58t1ullbpM+jISni7rwfK+jUnZHjUH/VHLguVFmL4A1DxWriJXNOrZR+i/eUJ94mWvfI08WR8Qh3UCr58FrKoWvPsu7HnCq0bn6RvQtCKqx5zgv+R+kxKIP+79SVjKZUi1ghswAuwx9+AT6vHgPLXjJLpZj9Ap/KhfnQR6VT3jBT+kEpmv3J+57JcJCyD4ZslT+LGW2ul0uWoGCVVMBdHqMzuC8OSxpKCw6bFNWnLq+JAU08zlJkAAllBKev+LZWiF8GBICKfynRgViy+MKNaMfzIUNlL9UDskaiWP+BL9RXGLJ2FVdeKkzqdAYdYlgdJChQ56KTtRukR7FlOqDXhszIPxJhU9wn9lNXmGvq1FJyo1LRY3HX+5o9lWw+enaswNxFxdLBMXPhF5jehMkImiR4/YS4WdlmHcEfsli9sBOjBQh1iIpCfme77PPU=
script:
- "./package.sh"
file: dist/*.zip
skip_cleanup: true
overwrite: true
on:
tags: true