Skip to content

Commit 98a4f43

Browse files
committed
try to fix Travis build
1 parent 405e1e4 commit 98a4f43

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ matrix:
22
fast_finish: true
33
include:
44
- os: linux
5-
dist: trusty
5+
dist: xenial
66
language: c
77
sudo: required
88
env:
9-
- DISTRO=trusty
9+
- DISTRO=xenial
1010
- BUILD_TYPE=maximum
1111

1212
- os: linux
13-
dist: trusty
13+
dist: xenial
1414
language: c
1515
sudo: required
1616
env:
17-
- DISTRO=trusty
17+
- DISTRO=xenial
1818
- BUILD_TYPE=minimum
1919

2020
- os: linux
@@ -29,7 +29,7 @@ language: c
2929
before_install:
3030
- sudo mv /etc/apt/sources.list.d/pgdg* /tmp
3131
- sudo apt-get purge -y libgdal* libgeos* libspatialite*
32-
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-testing
32+
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
3333
- sudo apt-get update
3434
- sudo apt-get install cmake libspatialite-dev libfcgi-dev libproj-dev libgeos-dev libgdal-dev libtiff-dev libgeotiff-dev apache2-dev libpcre3-dev libsqlite3-dev libdb-dev
3535
# For testing
@@ -42,7 +42,7 @@ script:
4242
- make -j3
4343
- sudo make install
4444
# Only test with Apache 2.4
45-
- if test "$DISTRO" = "trusty" -a "$BUILD_TYPE" = "maximum"; then cd ../tests; sh ./travis_setup.sh; sh ./run_tests.sh; fi
45+
- if test "$DISTRO" = "xenial" -a "$BUILD_TYPE" = "maximum"; then cd ../tests; sh ./travis_setup.sh; sh ./run_tests.sh; fi
4646

4747

4848
#notifications:

0 commit comments

Comments
 (0)