dist: xenial
language: ruby
cache:
  - bundler
  - npm
bundler_args: --without development
rvm:
  - 2.6.1
env:
  - TIMESCALEDB=false
addons:
  postgresql: 11
  apt:
    packages:
    - postgresql-11
    - postgresql-client-11
before_install:
  - gem update --system
  - gem install bundler
  - bundle config github.https true
before_script:
  - bundle exec rails yarn:install
  - bundle exec rails db:create:all
  - bundle exec rails db:migrate
script:
  - bundle exec rake assets:precompile
  - bundle exec rake rubocop
  - bundle exec rake spec

dist: xenial
language: ruby
cache:
  - bundler
  - npm
bundler_args: --without development
rvm:
  - 2.6.1
env:
  global:
  - PGPORT=5433
  - TIMESCALEDB=false
addons:
  postgresql: 11
  apt:
    packages:
    - postgresql-11
    - postgresql-client-11
before_install:
  - gem update --system
  - gem install bundler
  - bundle config github.https true
before_script:
  - bundle exec rails yarn:install
  - bundle exec rails db:create:all
  - bundle exec rails db:migrate
script:
  - bundle exec rake assets:precompile
  - bundle exec rake rubocop
  - bundle exec rake spec

Set PGPORT as in the manual
[CI] Set PGPORT as in the manual
