pdnsmanager/.travis.yml

26 lines
606 B
YAML
Raw Normal View History

2018-03-23 17:32:09 +00:00
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:
2018-03-23 18:50:39 +00:00
- phpenv config-rm xdebug.ini
2018-03-23 17:32:09 +00:00
- mysql -e 'CREATE DATABASE pdnstest;'
2018-03-23 18:50:39 +00:00
- .travis/backend-start-server.sh > server.log 2>&1 &
2018-03-23 17:32:09 +00:00
script:
- .travis/frontend-lint.sh
- .travis/backend-lint.sh
- .travis/backend-test.sh
2018-03-23 18:50:39 +00:00
after_script:
- cat server.log
2018-03-23 17:32:09 +00:00