Opened 7 years ago

Closed 7 years ago

#3803 closed defect (fixed)

travis needs to have script revised to work with trusty

Reported by: robe Owned by: robe
Priority: blocker Milestone: PostGIS 2.3.4
Component: QA/buildbots Version: 2.3.x
Keywords: Cc:

Description

Precise is being obsoleted which was the default travis was running on.

On around July 18th, travis changed default to run on trusty

https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming?utm_source=web&utm_medium=banner&&utm_campaign=trusty-default

this is around when our travis build started failing.

I've forced 2.4. to run on precise at r15531 , but given precise is being obsoleted soon, I think we need to migrate all our scripts to properly work on trusty.

We might as well upgrade the PostgreSQL as well.

Change History (3)

comment:1 by strk, 7 years ago

The failure seems related to PostgreSQL server user not having access to build dir:

psql:/home/travis/build/postgis/postgis/regress/00-regress-install/share/contrib/postgis/postgis.sql:97: ERROR:  could not access file "/home/travis/build/postgis/postgis/regress/00-regress-install/lib/postgis-2.4": Permission denied

Needs further inspection of directories permissions, can you try maybe to send a github PR adding these steps to .travis.yml:

 - ls -lR /home

comment:2 by robe, 7 years ago

In 15547:

Fix travis build by changing permissions of home folder
upgrade to test on 9.5
References #3803 for PostGIS 2.3.4
Closes https://github.com/postgis/postgis/pull/134

comment:3 by robe, 7 years ago

Resolution: fixed
Status: newclosed

In 15548:

change back to using the default travis ci - trusty from precise
Put in place permissions to fix make check error
Closes #3803 for PostGIS 2.4

Note: See TracTickets for help on using tickets.