31 lines
526 B
YAML
31 lines
526 B
YAML
branches:
|
|
except:
|
|
- /^v\d\.\d\.\d.*$/
|
|
|
|
env:
|
|
REPO: $TRAVIS_REPO_SLUG
|
|
VERSION: v1.0.0-beta.$TRAVIS_BUILD_NUMBER
|
|
|
|
sudo: required
|
|
|
|
services:
|
|
- docker
|
|
|
|
install:
|
|
- sudo service docker stop
|
|
- sudo curl https://get.docker.com/builds/Linux/x86_64/docker-1.10.1 -o /usr/bin/docker
|
|
- sudo chmod +x /usr/bin/docker
|
|
- sudo service docker start
|
|
|
|
before_script:
|
|
- make validate
|
|
- make binary
|
|
|
|
script:
|
|
- make test-unit
|
|
- make test-integration
|
|
- make crossbinary
|
|
- make image
|
|
|
|
after_success:
|
|
- make deploy
|