Adding back PHP and Postgres actions
This commit is contained in:
parent
488a611440
commit
ab2bb53ff2
|
@ -0,0 +1,6 @@
|
|||
#/bin/bash
|
||||
|
||||
psql -c 'CREATE DATABASE libretime;' -U postgres
|
||||
psql -c "CREATE USER libretime WITH PASSWORD 'libretime';" -U postgres
|
||||
psql -c 'GRANT CONNECT ON DATABASE libretime TO libretime;' -U postgres
|
||||
psql -c 'ALTER USER libretime CREATEDB;' -U postgres
|
|
@ -22,7 +22,18 @@ apt-get install -y gstreamer1.0-plugins-base \
|
|||
python3-gi-cairo \
|
||||
python-cairo \
|
||||
pkg-config \
|
||||
libcairo2-dev
|
||||
libcairo2-dev \
|
||||
postgresql \
|
||||
postgresql-client
|
||||
|
||||
apt-get install -y php7.2 \
|
||||
php7.2-curl \
|
||||
php7.2-gd \
|
||||
php7.2-pgsql \
|
||||
php-apcu \
|
||||
php-bcmath \
|
||||
php-mbstring \
|
||||
php-pear
|
||||
|
||||
# Making directory; not sure why...
|
||||
mkdir -p /tmp/log/libretime
|
|
@ -0,0 +1,39 @@
|
|||
#/bin/bash
|
||||
|
||||
# Adding repos and packages
|
||||
add-apt-repository -y ppa:libretime/libretime
|
||||
apt-get -q update
|
||||
apt-get install -y gstreamer1.0-plugins-base \
|
||||
gstreamer1.0-plugins-good \
|
||||
gstreamer1.0-plugins-bad \
|
||||
gstreamer1.0-plugins-ugly \
|
||||
libgirepository1.0-dev \
|
||||
liquidsoap \
|
||||
liquidsoap-plugin-faad \
|
||||
liquidsoap-plugin-lame \
|
||||
liquidsoap-plugin-mad \
|
||||
liquidsoap-plugin-vorbis \
|
||||
python3-gst-1.0 \
|
||||
silan \
|
||||
gcc \
|
||||
gir1.2-gtk-3.0 \
|
||||
python3-setuptools \
|
||||
python3-gi \
|
||||
python3-gi-cairo \
|
||||
python-cairo \
|
||||
pkg-config \
|
||||
libcairo2-dev \
|
||||
postgresql \
|
||||
postgresql-client
|
||||
|
||||
apt-get install -y php7.0 \
|
||||
php7.0-curl \
|
||||
php7.0-gd \
|
||||
php7.0-pgsql \
|
||||
php-apcu \
|
||||
php-bcmath \
|
||||
php-mbstring \
|
||||
php-pear
|
||||
|
||||
# Making directory; not sure why...
|
||||
mkdir -p /tmp/log/libretime
|
|
@ -18,9 +18,10 @@ jobs:
|
|||
with:
|
||||
python-version: '3.6'
|
||||
- run: ENVIRONMENT=testing && LIBRETIME_LOG_DIR=/tmp/log/libretime
|
||||
- run: sudo bash ./.github/scripts/install.sh
|
||||
- run: sudo bash ./.github/scripts/install-bionic.sh
|
||||
- run: sudo bash ./.github/scripts/init-postgres.sh
|
||||
- run: sudo composer install
|
||||
- run: cd airtime_mvc/tests && sudo bash ../../vendor/bin/phpunit
|
||||
- run: cd airtime_mvc/tests && sudo bash ../../vendor/bin/phpunit && cd ../..
|
||||
- run: sudo bash ./.github/scripts/python-pkg-install.sh
|
||||
- run: sudo bash ./.github/scripts/python-pkg-test.sh
|
||||
# test-xenial:
|
||||
|
|
Loading…
Reference in New Issue