Pull Request #51 Pass environment name to Sentry

Passing in the environment name allows us to notice if an error affects
one environment over another, or we could potentially ignore alerts for
staging warnings, or send them elsewhere, etc.

Sarah Hodne avatar Sarah Hodne

Pull request event #242.1 passed

  • Ran for
AMD64
Go: 1.7.5
Git
The .travis.yml file used for this job is not available
Build Config
{
  "go": "1.7.5",
  "env": {
    "global": [
      "UNAME=\"$(uname | tr '[:upper:]' '[:lower:]')\""
    ]
  },
  "sudo": false,
  "addons": {
    "artifacts": {
      "paths": [
        "./build/$UNAME/amd64/jb-server"
      ],
      "target_paths": [
        "travis-ci/jupiter-brain/$TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER",
        "travis-ci/jupiter-brain/$(git describe --always --dirty --tags)",
        "travis-ci/jupiter-brain/$TRAVIS_BRANCH"
      ]
    }
  },
  "script": [
    "make deps",
    "make test",
    "make test-race",
    "git diff --exit-code",
    "git diff --cached --exit-code"
  ],
  "language": "go",
  "after_success": [
    "mkdir -p build/$UNAME/amd64",
    "cp -v ~/gopath/bin/jb-server build/$UNAME/amd64/jb-server",
    "echo $ARTIFACTS_PATHS"
  ],
  "before_install": [
    "go get github.com/FiloSottile/gvt"
  ]
}