mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-09-11 19:17:17 +03:00
travis: move package installation to yml script
This commit is contained in:
parent
57ca1e0cf6
commit
cd03e9977d
27
.travis.yml
27
.travis.yml
@ -6,8 +6,33 @@ python:
|
||||
- "3.6"
|
||||
addons:
|
||||
postgresql: "9.6"
|
||||
apt:
|
||||
packages:
|
||||
- libboost-dev
|
||||
- libboost-system-dev
|
||||
- libboost-filesystem-dev
|
||||
- libexpat1-dev
|
||||
- zlib1g-dev
|
||||
- libxml2-dev
|
||||
- libbz2-dev
|
||||
- libpq-dev
|
||||
- libgeos-c1
|
||||
- libgeos++-dev
|
||||
- libproj-dev
|
||||
- postgresql-server-dev-9.6
|
||||
- postgresql-9.6-postgis-2.3
|
||||
- postgresql-contrib-9.6
|
||||
- apache2
|
||||
- php5
|
||||
- php5-pgsql
|
||||
- php5-intl
|
||||
- php-pear
|
||||
- python3-dev
|
||||
- python3-pip
|
||||
- python3-psycopg2
|
||||
- php5-cgi
|
||||
git:
|
||||
depth: 3
|
||||
depth: 1
|
||||
env:
|
||||
- TEST_SUITE=tests
|
||||
- TEST_SUITE=monaco
|
||||
|
@ -11,15 +11,6 @@
|
||||
# Travis has a 4 MB, 10000 line output limit, so where possible we run script --quiet
|
||||
|
||||
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y -qq libboost-dev libboost-system-dev \
|
||||
libboost-filesystem-dev libexpat1-dev zlib1g-dev libxml2-dev\
|
||||
libbz2-dev libpq-dev libgeos-c1 libgeos++-dev libproj-dev \
|
||||
postgresql-server-dev-9.6 postgresql-9.6-postgis-2.3 postgresql-contrib-9.6 \
|
||||
apache2 php5 php5-pgsql php5-intl php-pear
|
||||
|
||||
sudo apt-get install -y -qq python3-dev python3-pip python3-psycopg2 php5-cgi
|
||||
|
||||
pip3 install --quiet behave nose pytidylib psycopg2-binary
|
||||
|
||||
# Travis uses phpenv to support multiple PHP versions. We need to make sure
|
||||
|
Loading…
Reference in New Issue
Block a user