.travis.yml in ridgepole-0.7.1.beta vs .travis.yml in ridgepole-0.7.1.beta2
- old
+ new
@@ -13,12 +13,12 @@
- gem install bundler
before_script:
- sudo service mysql stop
- sudo service postgresql stop
- docker-compose up -d
- - function mysql_ping { mysqladmin -u root -h 127.0.0.1 -ppassword ping > /dev/null 2> /dev/null; }
- - function mysql57_ping { mysqladmin -u root -h 127.0.0.1 -P 3307 -ppassword ping > /dev/null 2> /dev/null; }
- - function pg_ping { PGPASSWORD=password pg_isready -U postgres -h 127.0.0.1 > /dev/null 2> /dev/null; }
+ - function mysql_ping { mysqladmin -u root -h 127.0.0.1 -P 13316 -ppassword ping; }
+ - function mysql57_ping { mysqladmin -u root -h 127.0.0.1 -P 13317 -ppassword ping; }
+ - function pg_ping { PGPASSWORD=password pg_isready -U postgres -h 127.0.0.1 -p 15442; }
- for i in {1..60}; do mysql_ping && break; sleep 1; done
- for i in {1..60}; do mysql57_ping && break; sleep 1; done
- for i in {1..60}; do pg_ping && break; sleep 1; done
script:
- bundle exec rake