Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (26 sloc) 1.08 KB
language: php
php:
- "5.6" # 5.6 is only tested for legacy, it's not recommended to be used
- "7.0"
- "7.1"
- "7.2"
services:
- mysql
install:
- sudo add-apt-repository -y ppa:ondrej/php
- sudo apt update -qq
- sudo apt install -qq -y libapache2-mod-php${TRAVIS_PHP_VERSION:0:3} php${TRAVIS_PHP_VERSION:0:3}-cli php${TRAVIS_PHP_VERSION:0:3}-common php${TRAVIS_PHP_VERSION:0:3}-json php${TRAVIS_PHP_VERSION:0:3}-opcache php${TRAVIS_PHP_VERSION:0:3}-xml php${TRAVIS_PHP_VERSION:0:3}-readline php-pear php${TRAVIS_PHP_VERSION:0:3}-curl php${TRAVIS_PHP_VERSION:0:3}-mysql php${TRAVIS_PHP_VERSION:0:3}
- sudo cp -f ci/files/apache.conf /etc/apache2/sites-available/000-default.conf
- sudo service apache2 restart
- php -v
- sudo rm -rf /var/www/html/hashtopolis
- sudo git clone https://github.com/s3inlc/hashtopolis /var/www/html/hashtopolis
- sudo /bin/bash ci/files/prepare.sh $TRAVIS_BRANCH
- sudo php -f ci/server/setup.php $TRAVIS_BRANCH
env:
- VERSION="master"
- VERSION="0.8.0"
- VERSION="0.9.0"
- VERSION="0.10.0"
script:
- php -f ci/run.php master $VERSION
You can’t perform that action at this time.