language: go
go: 1.4.2
sudo: false

env:
  global:
  - UNAME="$(uname | tr '[:upper:]' '[:lower:]')"

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'

before_install:
- go get github.com/constabulary/gb/...
- go get github.com/alecthomas/gometalinter/...
- gometalinter --install --update

script:
- make lintall
- make test
- make test-race
- git diff --exit-code
- git diff --cached --exit-code

after_success:
- bin/atlas-push
- mkdir -p build/$UNAME/amd64
- cp -v ${GOPATH%%:*}/bin/jb-server ./build/$UNAME/amd64/jb-server
- echo $ARTIFACTS_PATHS

language: go
go: 1.4.2
sudo: false

env:
  global:
  - UNAME="$(uname | tr '[:upper:]' '[:lower:]')"

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'

before_install:
- go get github.com/constabulary/gb/...
- go get github.com/alecthomas/gometalinter/...
- gometalinter --install --update

script:
- make lintall
- make test
- make test-race
- git diff --exit-code
- git diff --cached --exit-code

after_success:
- utils/atlas-push
- mkdir -p build/$UNAME/amd64
- cp -v bin/jb-server build/$UNAME/amd64/jb-server
- echo $ARTIFACTS_PATHS

Use correct paths for atlas-push and jb-server
Use correct paths for atlas-push and jb-server
