summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-08-12 11:47:01 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-08-12 11:47:01 +0900
commitdb0a021bacb538de435cbd983779e414c5ca8f24 (patch)
tree7fec21b527b415b06dc66c4d36a0ae230864133b
parent3a3086c1f4ad70cd1190c44158b1bd47b0509976 (diff)
travis: use the old version of docker (1.8.3)
Seems that the latest often fails for some reasons. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--.travis.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 014180b6..681756c2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,7 @@
language: go
sudo: required
+dist: trusty
services:
- docker
@@ -17,6 +18,14 @@ env:
- SCENARIO=false
- SCENARIO=true
+before_install:
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo sh -c 'echo "deb http://apt.dockerproject.org/repo ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list'; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get remove --purge -y --force-yes docker-engine; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -y --force-yes install docker-engine=1.8.3-0~trusty; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo docker -v; fi
+
matrix:
allow_failures:
- go: tip