forked from gobuffalo/pop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (39 loc) · 776 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
43
44
45
46
47
48
49
50
language: go
dist: trusty
sudo: required
go:
- 1.9
- "1.10"
- "1.11"
- tip
install:
- go get -t -v ./...
before_script:
# - go get -u github.com/alecthomas/gometalinter
# - gometalinter --install
- go build -v -tags sqlite -o tsoda ./soda
- ./tsoda create -e $SODA_DIALECT
- ./tsoda migrate -e $SODA_DIALECT
script:
# - gometalinter --vendor --deadline=5m ./...
- go test -tags sqlite ./... -v -race
global_env:
- MYSQL_USER="travis"
- MYSQL_PASSWORD=""
- POSTGRES_PASSWORD=""
env:
- SODA_DIALECT="postgres"
- SODA_DIALECT="mysql_travis"
- SODA_DIALECT="sqlite"
services:
- mysql
addons:
postgresql: "9.5"
apt:
sources:
- mysql-5.7-trusty
packages:
- mysql-server
matrix:
allow_failures:
- go: 'tip'