File tree Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 11sudo : required
2+ dist : focal
23language : ruby
34rvm :
4- - " 2.0 .0"
5+ - " 2.3 .0"
56 - ruby-head
67env :
7- - " PGVERSION=10.0-1-linux-x64 PATH= \" /opt/PostgreSQL/10/bin:$PATH \" "
8- - " PGVERSION=9.3.19-1-linux-x64 PATH= \" /opt/PostgreSQL/9.3/bin:$PATH \" "
8+ - " PGVERSION=14 "
9+ - " PGVERSION=9.6 "
910before_install :
10- - gem install bundler
11+ - gem install bundler --no-doc --conservative
1112 - bundle install
12- # Download and install postgresql version to test against in /opt
13- - |
14- wget http://get.enterprisedb.com/postgresql/postgresql-$PGVERSION.run && \
15- chmod +x postgresql-$PGVERSION.run && \
16- sudo ./postgresql-$PGVERSION.run --extract-only 1 --mode unattended
13+ # Download and install postgresql version to test against in /opt (for non-cross compile only)
14+ - echo "deb http://apt.postgresql.org/pub/repos/apt/ ${TRAVIS_DIST}-pgdg main $PGVERSION" | sudo tee -a /etc/apt/sources.list.d/pgdg.list
15+ - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
16+ - sudo apt -y update
17+ - sudo apt -y --allow-downgrades install postgresql-$PGVERSION libpq-dev
18+ - export PATH=/usr/lib/postgresql/$PGVERSION/bin:$PATH
19+
1720script : rake test
Original file line number Diff line number Diff line change 1+ image : Visual Studio 2019
2+
13init :
24 - set PATH=C:/Ruby%ruby_version%/bin;c:/Program Files/Git/cmd;c:/Windows/system32;C:/Windows/System32/WindowsPowerShell/v1.0
35 - set RUBYOPT=--verbose
68 - ver
79 - ruby --version
810 - gem --version
9- - gem install bundler --conservative
11+ - gem install bundler --no-doc -- conservative
1012 - bundle install
1113
1214build_script :
@@ -19,7 +21,7 @@ test_script:
1921
2022environment :
2123 matrix :
22- - ruby_version : " 25 -x64"
23- PGVER : 10
24- - ruby_version : " 22 "
24+ - ruby_version : " 27 -x64"
25+ PGVER : 14
26+ - ruby_version : " 24 "
2527 PGVER : 10
You can’t perform that action at this time.
0 commit comments