.travis.yml in pg_ha_migrations-1.2.3 vs .travis.yml in pg_ha_migrations-1.2.4

- old
+ new

@@ -1,24 +1,23 @@ sudo: false language: ruby rvm: - 2.5 -global: - env: - PGPORT: 5433 env: - - PGVERSION: "9.6" - - PGVERSION: "10" - - PGVERSION: "11" - - PGVERSION: "12" + jobs: + - PGVERSION: "9.6" + - PGVERSION: "10" + - PGVERSION: "11" + - PGVERSION: "12" services: - postgresql before_install: - - sudo service postgresql stop + - "for CLUSTER_VERSION in $(pg_lsclusters -h | cut -d' ' -f1); do sudo pg_dropcluster $CLUSTER_VERSION main --stop || true; done" - sudo apt-get update - sudo apt-get -y install postgresql-$PGVERSION postgresql-client-$PGVERSION postgresql-server-dev-$PGVERSION postgresql-client-common postgresql-common - - if [ $PGVERSION != '9.6' ]; then sudo cp /etc/postgresql/{9.6,$PGVERSION}/main/pg_hba.conf; fi - - sudo service postgresql restart $PGVERSION + - sudo pg_dropcluster $PGVERSION main --stop || true + - sudo pg_createcluster $PGVERSION main -D /var/ramfs/postgresql/11/main -- --auth=trust + - sudo pg_ctlcluster start $PGVERSION main - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true - gem install bundler -v 1.15.4 gemfile: - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile