Skip to content

Commit

Permalink
faster travis (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbusbey committed May 10, 2016
1 parent dacb89f commit 6327fed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Expand Up @@ -5,12 +5,22 @@ go:
- 1.6
- tip

env:
- FIX_TEST=
- FIX_TEST=fix40
- FIX_TEST=fix41
- FIX_TEST=fix42
- FIX_TEST=fix43
- FIX_TEST=fix44
- FIX_TEST=fix50
- FIX_TEST=fix50sp1
- FIX_TEST=fix50sp2

matrix:
allow_failures:
- go: tip

install:
- make get

before_script: make generate
script: make travis_test
script: if [ -z "$FIX_TEST" ]; then make generate && make build && make; else make build_accept && make $FIX_TEST; fi
3 changes: 0 additions & 3 deletions Makefile
Expand Up @@ -54,7 +54,4 @@ fix50sp2:
ACCEPT_SUITE=fix40 fix41 fix42 fix43 fix44 fix50 fix50sp1 fix50sp2
accept: $(ACCEPT_SUITE)


travis_test: all build accept

.PHONY: test $(ACCEPT_SUITE)

0 comments on commit 6327fed

Please sign in to comment.