Skip to content

Commit 6327fed

Browse files
committed
faster travis (#133)
1 parent dacb89f commit 6327fed

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.travis.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,22 @@ go:
55
- 1.6
66
- tip
77

8+
env:
9+
- FIX_TEST=
10+
- FIX_TEST=fix40
11+
- FIX_TEST=fix41
12+
- FIX_TEST=fix42
13+
- FIX_TEST=fix43
14+
- FIX_TEST=fix44
15+
- FIX_TEST=fix50
16+
- FIX_TEST=fix50sp1
17+
- FIX_TEST=fix50sp2
18+
819
matrix:
920
allow_failures:
1021
- go: tip
1122

1223
install:
1324
- make get
1425

15-
before_script: make generate
16-
script: make travis_test
26+
script: if [ -z "$FIX_TEST" ]; then make generate && make build && make; else make build_accept && make $FIX_TEST; fi

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,4 @@ fix50sp2:
5454
ACCEPT_SUITE=fix40 fix41 fix42 fix43 fix44 fix50 fix50sp1 fix50sp2
5555
accept: $(ACCEPT_SUITE)
5656

57-
58-
travis_test: all build accept
59-
6057
.PHONY: test $(ACCEPT_SUITE)

0 commit comments

Comments
 (0)