summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 17d0273..869043d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,8 @@ go:
- 1.5
env:
- "PATH=/home/travis/gopath/bin:$PATH"
+sudo: required
+dist: trusty
before_install:
- go get github.com/arachnist/gorepost/bot
- go get github.com/arachnist/gorepost/irc
@@ -11,7 +13,11 @@ before_install:
- go get github.com/mattn/goveralls
- go get github.com/go-playground/overalls
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
- - sudo apt-get install kyototycoon
+ - echo "deb http://pl.archive.ubuntu.com/ubuntu trusty main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
+ - echo "deb http://pl.archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
+ - echo "deb http://pl.archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
+ - sudo apt-get update -qq
+ - sudo apt-get install -y kyototycoon
before_script:
- ktserver -dmn -host 127.0.0.1 -port 1337
script: