This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
/
.travis.yml
63 lines (55 loc) · 2.14 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
language: go
os: linux
go:
- 1.10.x
env:
matrix:
- MYSQL_IMAGE=mysql:5.5
- MYSQL_IMAGE=mysql:5.6
- MYSQL_IMAGE=mysql:5.7
- MYSQL_IMAGE=mysql:8.0
- MYSQL_IMAGE=percona/percona-server:5.6
- MYSQL_IMAGE=percona/percona-server:5.7
- MYSQL_IMAGE=percona:5.5
- MYSQL_IMAGE=percona:5.6
- MYSQL_IMAGE=percona:5.7
- MYSQL_IMAGE=mariadb:5.5
- MYSQL_IMAGE=mariadb:10.0
- MYSQL_IMAGE=mariadb:10.1
- MYSQL_IMAGE=mariadb:10.2
- MYSQL_IMAGE=mariadb:10.3
- POSTGRESQL_IMAGE=postgres:9
- POSTGRESQL_IMAGE=postgres:10
- POSTGRESQL_IMAGE=postgres:11
- MONGODB_IMAGE=mongo:3.2
- MONGODB_IMAGE=mongo:3.4
- MONGODB_IMAGE=mongo:3.6
- MONGODB_IMAGE=percona/percona-server-mongodb:3.2
- MONGODB_IMAGE=percona/percona-server-mongodb:3.4
- MONGODB_IMAGE=percona/percona-server-mongodb:3.6
services:
- docker
install:
# ensure that vendor/ is in sync with code and Gopkg.*
- curl https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -L -o ~/dep && chmod +x ~/dep
- rm -fr vendor/
- ~/dep ensure -v
- git diff --exit-code
before_script:
- sudo service mysql stop
- sudo service postgresql stop
- docker --version
- docker-compose --version
- docker-compose up -d
script:
- make init
- make test-race-cover
after_success:
- bash <(curl -s https://codecov.io/bash) -X fix
notifications:
email: false
slack:
on_success: change
on_failure: always
rooms:
- secure: VmP4V9yPuKDVE40eO69ghS+wkv89ad3K50CX5jEkdE4jj8xdldmAlQQ9uJXsIh81Y6dEywozI5awWvBzywDf8fyH5vzFwPua0rY7EcYyK10Bd/e/8aDQkDt3RyTKcfEhifDh44WcYNfz5GoMyNBCAysw8QwBu8jZivKFqQd1Wdb4mD0jyiLSl0OLGdDdrvu/46ZSUbeyoXOHVPtfqFZFyMfNMByRC9C+yMb5A5lvToetaT/TH/Lx0EohLISA4Gj4lW2GGDQOsiQWt3uYqLgt496+4UBmr+Tyy9WA/pVrfN7zaqe4HrcquOh0bAoC+mLgf2sAYvpiqZmeKWGzvvWXveMfg2bz6RhNARt/9A6RQ7pQcco422K3ei2aaVw2/iO63G0Wvk+Z7UMjvCGbIQMnNUgZSbUnaPYLtajnIIdHfdp9JTqCt5l+5yLdvkjBRE4VKaJSpx5mNaLtqHXOozKkKB+fJvqAUadPh3KZLsBTyw8vcRSSxTzPfOymtJExH/O/CI41rwKOrxi6kVBOjDi8dZY9MocVVtO0u1XBz56uNUa7SYm1NS+ASCHzJyk0iCYqYUga5t5E/CAX7NAgqR8LGHf/DJXHEM3QpaL9dkVKYrzmJpoxaNmQW8AfEHhWPDAkhVnIKtT4TN3YQlGJqpKmfcLQfdUDc/nN6+CM91JzYKc=