2016-11-14 16:41:12 +00:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2016-02-19 11:58:06 +00:00
|
|
|
env:
|
2016-04-06 13:28:25 +00:00
|
|
|
global:
|
2016-04-06 15:31:43 +00:00
|
|
|
- secure: btt4r13t09gQlHb6gYrvGC2yGCMMHfnp1Mz1RQedc4Mpf/FfT8aE6xmK2a2i9CCvskjrP0t/BFaS4yxIURjnFRn+ugQIEa0pLspB9UJArW/vgOSpIWM9/OQ/fg8z5XuMxN6Md4DL1/iLypMNSageA1x0TRdt89+D1N1dALpg5XRCXLFbC84TLi0gjlFuib9ibPKzEhLT+anCRJ6iZMzeupDSoaCVbAtJMoDvXw4+4AcRZ1+k4MybBLyCib5boaEOt4pTT88mz4Kk0YaMwPVJyg9Qv36VqyUcPS09Yd95LuyVQ4+tZt8Y1ccbIzULsK+sLM3hLCzxlmlpN3dQBlZJiiRtQde0mgGAKyC0P0A1XjuDTywcsa5edB+fTk1Dsewz9xZ9V0NmMz8t+UNZnaSsAPga9i86jULbXUUwMVSzVRc+Xgx02liB/8qI1xYC9FM6ilStt7rn7mF0k3KbiWhcptgeXjO6Lah9FjEKd5w4MXsdUSTi/86rQaLo+kj+XdaTrXCTulKHyRyQEUj+8V1w0oVz7pcGjePHd7y5oU9ByifVQy6sytuFBfRZvugM5bKHo+i0pcWvixrZS42DrzwxZJsspANOvqSe5ifVbvOkfUppQdCBIwptxV5N1b49XPKU3W/w34QJ8xGmKp3TFA7WwVCztriFHjPgiRpB3EG99Bg=
|
|
|
|
- REPO: $TRAVIS_REPO_SLUG
|
2016-05-27 12:12:29 +00:00
|
|
|
- VERSION: $TRAVIS_TAG
|
2016-09-30 13:04:37 +00:00
|
|
|
- CODENAME: camembert
|
2016-11-14 16:41:12 +00:00
|
|
|
|
2017-02-02 09:58:42 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
- env: DOCKER_VERSION=1.10.3
|
|
|
|
- env: DOCKER_VERSION=1.12.6
|
2016-11-14 16:41:12 +00:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- sudo -E apt-get -yq update
|
|
|
|
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install docker-engine=${DOCKER_VERSION}*
|
2016-02-19 11:58:06 +00:00
|
|
|
install:
|
2016-11-14 16:41:12 +00:00
|
|
|
- docker version
|
|
|
|
- pip install --user -r requirements.txt
|
2016-02-19 11:58:06 +00:00
|
|
|
before_script:
|
2016-11-14 16:41:12 +00:00
|
|
|
- make validate
|
|
|
|
- make binary
|
2016-02-19 11:58:06 +00:00
|
|
|
script:
|
2017-02-02 09:58:42 +00:00
|
|
|
- travis_retry make test-unit
|
|
|
|
- travis_retry make test-integration
|
2016-11-14 16:41:12 +00:00
|
|
|
after_failure:
|
|
|
|
- docker ps
|
2017-02-02 09:58:42 +00:00
|
|
|
after_success:
|
|
|
|
- make crossbinary
|
|
|
|
- make image
|
|
|
|
before_deploy:
|
|
|
|
- mkdocs build --clean
|
|
|
|
- tar cfz dist/traefik-${VERSION}.src.tar.gz --exclude-vcs --exclude dist .
|
|
|
|
deploy:
|
|
|
|
- provider: pages
|
|
|
|
edge: true
|
|
|
|
github_token: ${GITHUB_TOKEN}
|
|
|
|
local_dir: site
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
repo: containous/traefik
|
|
|
|
tags: true
|
|
|
|
- provider: releases
|
|
|
|
api_key: ${GITHUB_TOKEN}
|
|
|
|
file: dist/traefik*
|
|
|
|
skip_cleanup: true
|
|
|
|
file_glob: true
|
|
|
|
on:
|
|
|
|
repo: containous/traefik
|
|
|
|
tags: true
|
|
|
|
- provider: script
|
2017-02-02 14:25:26 +00:00
|
|
|
script: sh script/deploy.sh
|
2017-02-02 12:59:28 +00:00
|
|
|
skip_cleanup: true
|
2017-02-02 09:58:42 +00:00
|
|
|
on:
|
|
|
|
repo: containous/traefik
|
|
|
|
tags: true
|
|
|
|
- provider: script
|
2017-02-02 14:25:26 +00:00
|
|
|
script: sh script/deploy-docker.sh
|
2017-02-02 12:59:28 +00:00
|
|
|
skip_cleanup: true
|
2017-02-02 09:58:42 +00:00
|
|
|
on:
|
|
|
|
repo: containous/traefik
|