Skip to content

Commit

Permalink
up required go version to 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsk committed Jan 13, 2019
1 parent 42a36ac commit 8d75960
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 18 deletions.
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ language: go
go:
- master
- 1.x
- 1.5.x
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x
- 1.11.x
Expand All @@ -16,15 +12,12 @@ matrix:

sudo: false

before_install:
- export GO15VENDOREXPERIMENT=1

script:
- make test ARGS='-timeout=1s'

after_success:
- echo $TRAVIS_GO_VERSION ":" $TRAVIS_TAG
- if [[ $TRAVIS_GO_VERSION == 1.10* ]] && [ -n "$TRAVIS_TAG" ]; then curl -sL https://git.io/goreleaser | bash; fi
- if [[ $TRAVIS_GO_VERSION == 1.11* ]] && [ -n "$TRAVIS_TAG" ]; then curl -sL https://git.io/goreleaser | bash; fi

notifications:
slack: octolab:1eMS7IqOArBipiu31jYVd0cN
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 OctoLab, https://www.octolab.org/ <[email protected]>
Copyright (c) 2019 OctoLab, https://www.octolab.org/ <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
OPEN_BROWSER =
SUPPORTED_VERSIONS = 1.5 1.6 1.7 1.8 1.9 1.10 1.11 latest
SUPPORTED_VERSIONS = 1.9 1.10 1.11 latest


include makes/env.mk
Expand Down
2 changes: 0 additions & 2 deletions context.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build go1.7

package retry

import "context"
Expand Down
2 changes: 0 additions & 2 deletions context_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build go1.7

package retry_test

import (
Expand Down
2 changes: 0 additions & 2 deletions example_db_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build go1.8

package retry_test

import (
Expand Down
2 changes: 0 additions & 2 deletions example_retry_with_context_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build go1.7

package retry_test

import (
Expand Down

0 comments on commit 8d75960

Please sign in to comment.