mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Enforce cake linting in CI
This commit is contained in:
parent
335925dcc8
commit
cb505b6202
2 changed files with 6 additions and 3 deletions
|
@ -4,9 +4,11 @@ go:
|
|||
- 1.5
|
||||
|
||||
before_script:
|
||||
npm install -g coffee-script
|
||||
npm install -g coffee-script coffeelint
|
||||
|
||||
script:
|
||||
- make check
|
||||
- go test -v -race ./broker
|
||||
- cd proxy && cake test
|
||||
- cd proxy
|
||||
- cake lint
|
||||
- cake test
|
||||
|
|
|
@ -82,7 +82,8 @@ class Snowflake
|
|||
RATE_LIMIT_HISTORY)
|
||||
|
||||
# TODO: Should potentially fetch from broker later.
|
||||
# Set the target relay address spec, which is expected to be a websocket relay.
|
||||
# Set the target relay address spec, which is expected to be a websocket
|
||||
# relay.
|
||||
setRelayAddr: (relayAddr) ->
|
||||
@relayAddr = relayAddr
|
||||
log 'Using ' + relayAddr.host + ':' + relayAddr.port + ' as Relay.'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue