Updated build scripts

This commit is contained in:
Eduard Urbach 2019-04-20 12:51:25 +09:00
parent 1211cae561
commit babbefcb36

View File

@ -36,11 +36,14 @@ before_script:
- go get github.com/dustin/go-humanize # Dependency used in pixy files only - go get github.com/dustin/go-humanize # Dependency used in pixy files only
- npm install -g typescript # TypeScript - npm install -g typescript # TypeScript
- git clone --depth=1 https://github.com/animenotifier/database ~/.aero/db/arn # Database - git clone --depth=1 https://github.com/animenotifier/database ~/.aero/db/arn # Database
- make tools # Install tools
- tsc # Compile scripts (allow this to fail for now)
# script always run to completion (set +e). All of these code checks are must haves # script always run to completion (set +e). All of these code checks are must haves
# in a modern Go project. # in a modern Go project.
script: script:
- make all # Build - pack # Pack assets
- make server bots jobs patches # Build
- go test -v . # Run all the tests - go test -v . # Run all the tests
# - go test -v -race ./... # Run all the tests with the race detector enabled # - go test -v -race ./... # Run all the tests with the race detector enabled
- go vet ./... # go vet is the official Go static analyzer - go vet ./... # go vet is the official Go static analyzer