forked from centrifugal/centrifugo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (34 loc) · 777 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
sudo: required
language: go
env:
- GO111MODULE=off
go:
# Use quotes here:
# https://github.com/travis-ci/gimme/issues/132
- '1.13.x'
- 'tip'
addons:
apt:
packages:
# needed for the nfpm pipe:
- rpm
services:
- docker
- redis-server
before_install:
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; fi'
- go get golang.org/x/tools/cmd/cover
- go get github.com/mitchellh/gox
script: make test
deploy:
- provider: script
skip_cleanup: true
script: misc/release/release.sh --release-notes=misc/release/notes.md
on:
tags: true
go: '1.13.x'
- provider: script
script: misc/scripts/travis_packagecloud.sh
on:
tags: true
go: '1.13.x'