File: .travis.yml

package info (click to toggle)
golang-github-rubenv-sql-migrate 0.0~git20191213.0633851-2~bpo10+1
  • links: PTS, VCS
  • area: main
  • in suites: buster-backports
  • size: 272 kB
  • sloc: sh: 42; sql: 4; makefile: 4
file content (31 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (2)
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
language: go

sudo: false

go:
    - "1.11"
    - "1.12"
    - "1.13"
    
services:
    - mysql
    - postgresql

before_install:
    - mysql -e "CREATE DATABASE IF NOT EXISTS test;" -uroot
    - mysql -e "CREATE DATABASE IF NOT EXISTS test_env;" -uroot
    - psql -c "CREATE DATABASE test;" -U postgres

install:
    - go get -t ./...
    - go install ./...
    - go get -u github.com/kisielk/errcheck

script:
    - go test -v ./...
    - bash test-integration/postgres.sh
    - bash test-integration/mysql.sh
    - bash test-integration/mysql-flag.sh
    - bash test-integration/mysql-env.sh
    - bash test-integration/sqlite.sh
    - errcheck ./...