forked from fluffle/sp0rkle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (30 loc) · 1.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
language: go
go:
- 1.5.4
- 1.6.3
- 1.7.3
sudo : false
notifications:
irc:
channels:
- "irc.pl0rt.org#sp0rklf"
skip_join: true
# NOTE: Any extra dependencies added here must be reflected in README.md
install:
- go get github.com/boltdb/bolt
- go get github.com/fluffle/goirc/client
- go get github.com/fluffle/golog/logging
- go get github.com/google/go-github/github
- go get golang.org/x/oauth2
- go get gopkg.in/mgo.v2
# Not testing with DB, just that it builds
#sudo apt-get install build-essential bison mongodb
#sudo apt-get install mercurial git bzr
script:
# main.go:10:2: cannot find package "github.com/fluffle/sp0rkle/bot" in any of:
# Work around by symlinking in
- if [ "$TRAVIS_REPO_SLUG" != "fluffle/sp0rkle" ] ; then ln -s "$HOME/gopath/src/github.com/$TRAVIS_REPO_SLUG" /home/travis/gopath/src/github.com/fluffle/sp0rkle ; fi
- ls -la /home/travis/gopath/src/github.com/fluffle/
- find /home/travis/gopath/src/github.com/fluffle
- go test -v ./...