Node.js based forum software built for the modern web
fix: travis :dog:
Baris Usakli3731dc4eb107
diff --git a/.travis.yml b/.travis.ymlindex 5811011dff..cad1d44f7c 100644--- a/.travis.yml+++ b/.travis.yml@@ -4,6 +4,11 @@ services:- postgresqlbefore_install:- cp install/package.json package.json+ - sudo apt-get update+ - sudo apt-get --yes remove postgresql\*+ - sudo apt-get install -y postgresql-12 postgresql-client-12+ - sudo cp /etc/postgresql/{9.6,12}/main/pg_hba.conf+ - sudo service postgresql restart 12before_script:- sleep 15 # wait for mongodb to be ready- "mongo mydb_test --eval 'db.createUser({user:\"travis\", pwd: \"test\", roles: []});'"@@ -14,26 +19,29 @@ after_success:- "npm run coveralls"language: node_jssudo: false-dist: trusty+dist: xenialenv:- CXX=g++-4.8 DB=mongodb TEST_ENV=production- CXX=g++-4.8 DB=mongodb TEST_ENV=development- CXX=g++-4.8 DB=redis TEST_ENV=production- CXX=g++-4.8 DB=postgres TEST_ENV=production+ global:+ - PGUSER=postgres+ - PGPORT=5432addons:apt:sources:- ubuntu-toolchain-r-test- - mongodb-3.4-trusty+ - mongodb-4.0-xenialpackages:- g++-4.8- mongodb-org-server- postgresql: "12"node_js:- "12"- "10"- - "8"branches:only:- master- develop+script:+ - psql -c "SELECT version();"