Skip to content

Commit 199bfae

Browse files
author
romnnn
committed
Move matrix to jobs in travis
1 parent c0cc65a commit 199bfae

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

.travis.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
dist: bionic
22
language: go
33
go:
4-
- 1.13.x
5-
- master
6-
- tip
4+
- 1.13.x
5+
- master
6+
- tip
77
os:
8-
- linux
9-
- osx
10-
matrix:
8+
- linux
9+
- osx
10+
jobs:
1111
allow_failures:
12-
- go: tip
12+
- go: tip
1313
fast_finish: true
14-
jobs:
1514
include:
1615
- stage: deploy
1716
name: Publish release
@@ -29,12 +28,12 @@ install: true
2928
notifications:
3029
email: false
3130
before_script:
32-
- go get -u golang.org/x/lint/golint
33-
- go get github.com/fzipp/gocyclo
31+
- go get -u golang.org/x/lint/golint
32+
- go get github.com/fzipp/gocyclo
3433
script:
35-
- pip install -U pip && pip install pre-commit && pre-commit run --all-files
36-
- env GO111MODULE=on go build -o mongoimport github.com/romnnn/mongoimport/cmd/mongoimport
37-
- env GO111MODULE=on go test -v -race -coverprofile=coverage.txt -covermode=atomic github.com/romnnn/mongoimport/validation
34+
- pip install -U pip && pip install pre-commit && pre-commit run --all-files
35+
- env GO111MODULE=on go build -o mongoimport github.com/romnnn/mongoimport/cmd/mongoimport
36+
- env GO111MODULE=on go test -v -race -coverprofile=coverage.txt -covermode=atomic github.com/romnnn/mongoimport/validation
3837

3938
after_success:
40-
- bash <(curl -s https://codecov.io/bash)
39+
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)