summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <rgerus@dpd.com.pl>2015-12-07 10:17:13 +0100
committerRobert Gerus <rgerus@dpd.com.pl>2015-12-07 10:17:13 +0100
commit67ef252f774fb0e6f6dd4e56b438e73084ce2593 (patch)
treec4bd16a553446371cc9b3f5cdbcd64887f79ac41
parent1f5db16531b538ca2223b95de0996e0496ff206c (diff)
downloadgorepost-67ef252f774fb0e6f6dd4e56b438e73084ce2593.tar.gz
gorepost-67ef252f774fb0e6f6dd4e56b438e73084ce2593.tar.bz2
gorepost-67ef252f774fb0e6f6dd4e56b438e73084ce2593.tar.xz
gorepost-67ef252f774fb0e6f6dd4e56b438e73084ce2593.zip
Adjustments to before_install according to docs.
-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: