This repository has been archived on 2023-12-11. You can view files and clone it, but cannot push or open issues or pull requests.
pgls/.travis.yml

21 lines
705 B
YAML
Raw Normal View History

2018-02-07 00:44:36 +03:00
sudo: required
dist: focal
2018-02-07 00:44:36 +03:00
language: ruby
rvm:
- "2.4.0"
2018-02-07 00:44:36 +03:00
- ruby-head
env:
- "PGVERSION=14"
- "PGVERSION=9.6"
2018-02-07 00:44:36 +03:00
before_install:
- gem install bundler --no-doc --conservative
2018-02-07 00:44:36 +03:00
- bundle install
# Download and install postgresql version to test against in /opt (for non-cross compile only)
- echo "deb http://apt.postgresql.org/pub/repos/apt/ ${TRAVIS_DIST}-pgdg main $PGVERSION" | sudo tee -a /etc/apt/sources.list.d/pgdg.list
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
- sudo apt -y update
- sudo apt -y --allow-downgrades install postgresql-$PGVERSION libpq-dev
- export PATH=/usr/lib/postgresql/$PGVERSION/bin:$PATH
2018-02-07 00:44:36 +03:00
script: rake test