pdnsmanager/.travis.yml
2018-03-23 20:06:13 +01:00

23 lines
620 B
YAML

sudo: required
dist: trusty
language: php
services:
- mysql
php:
- "7.1"
before_install:
- sudo rm -rf ~/.nvm
- curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
- sudo apt-get install -y nodejs build-essential
install:
- .travis/frontend-install.sh
- .travis/backend-install.sh
before_script:
- phpenv config-rm xdebug.ini
- phpenv config-add .travis/data/phpconfig.ini
- mysql -e 'CREATE DATABASE pdnstest;'
- .travis/backend-start-server.sh > /dev/null 2>&1 &
script:
- .travis/frontend-lint.sh
- .travis/backend-lint.sh
- .travis/backend-test.sh