language: go
services:
- redis-server
go:
- 1.4
install: 
- sudo pip install awscli
script:
- ./scripts/build.sh
- ./scripts/test.sh
after_script:
- go test -v -covermode=count -coverprofile=coverage.out .
- goveralls -coverprofile=coverage.out -service travis-ci -repotoken $COVERALLS_TOKEN
- ./scripts/deploy.sh

language: go
services:
- redis-server
go:
- 1.4
install: 
- pip install --user awscli
- export PATH=$PATH:~/.local/bin
script:
- ./scripts/build.sh
- ./scripts/test.sh
after_script:
- go test -v -covermode=count -coverprofile=coverage.out .
- goveralls -coverprofile=coverage.out -service travis-ci -repotoken $COVERALLS_TOKEN
- ./scripts/deploy.sh

Install AWSCLI as user-mode pip package
fix: Install AWSCLI as user-mode pip package
