forked from tsuru/tsuru
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 loc) · 868 Bytes
/
.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
language: go
go: 1.1.1
before_install:
- sudo apt-get update -qq > apt-get.out 2>&1 || (cat apt-get.out && exit 1)
- sudo apt-get install bzr mercurial git -qq > apt-get.out 2>&1 || (cat apt-get.out && exit 1)
install:
- curl -sL https://github.com/kr/beanstalkd/archive/v1.9.tar.gz | tar -xzC /tmp
- pushd /tmp/beanstalkd-1.9
- make -j4 > make.out 2>&1 || (cat make.out && exit 1)
- ./beanstalkd -l 127.0.0.1 -p 11300 &
- sleep 1
- nc -z 127.0.0.1 11300
- popd
- make get-test
before_script:
- ./check-fmt.sh
- make get-prod
- echo http://localhost > $HOME/.tsuru_target
script:
- make test
notifications:
irc:
channels:
- "irc.freenode.net#tsuru"
on_success: change
on_failure: always
email:
recipients:
on_success: change
on_failure: always
services:
- mongodb
- redis