Updated travis config.

This commit is contained in:
Mario Visic 2011-10-17 23:37:33 +08:00
parent 930a67429d
commit 6b9ccf3854
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,7 @@
script: "bundle exec rake travis" script: "bundle exec rake travis"
before_script: "sh -e /etc/init.d/xvfb start" before_script: ./bin/ci/before_build.sh
rvm: rvm:
- 1.9.2 - 1.9.2
- 1.9.3
notifications: notifications:
email: email:
- didier@nocoffee.fr - didier@nocoffee.fr

3
bin/ci/before_build.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
sh -e /etc/init.d/xvfb start
echo "echo \"127.0.0.1 test.example.com\" >> /etc/hosts" | sudo sh