Merge pull request #772 from achanda/travis

Use the CI env variable
This commit is contained in:
Alex Dadgar 2016-02-06 15:44:01 -08:00
commit b5acfc77d9
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ go:
- tip
env:
- TRAVIS_RUN=true DOCKER_VERSION=1.9.1
- DOCKER_VERSION=1.9.1
matrix:
allow_failures:

View File

@ -11,7 +11,7 @@ import (
const (
// TravisRunEnv is an environment variable that is set if being run by
// Travis.
TravisRunEnv = "TRAVIS_RUN"
TravisRunEnv = "CI"
)
type testFn func() (bool, error)