1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-30 18:53:30 +00:00

CI bugs out if token is not provided, fixed that

This commit is contained in:
diamondburned (Forefront) 2020-05-03 12:02:13 -07:00
parent 10bdb19f68
commit 892c88d808

View file

@ -26,12 +26,9 @@ unit_test:
integration_test:
stage: test
only:
variables:
- $BOT_TOKEN
- $VOICE_ID # for voice tests
- $CHANNEL_ID # for API integration tests
script:
# Don't run if these variables aren't provided.
- '[ ! "$BOT_TOKEN" ] && exit'
# go get first, so it doesn't count towards the timeout.
- go get ./...
# Timeout test after 120 seconds (2 minutes)