Dan Brown

Added travis CI file

1 +language: php
2 +
3 +php:
4 + - 7.0
5 +
6 +
7 +addons:
8 + mariadb: '10.1'
9 +
10 +before_script:
11 + - mysql -e 'create database `bookstack-test`;'
12 + - composer config -g github-oauth.github.com $GITHUB_ACCESS_TOKEN
13 + - phpenv config-rm xdebug.ini
14 + - composer self-update
15 + - composer install --prefer-dist --no-interaction
16 + - npm install
17 + - ./node_modules/.bin/gulp
18 + - php artisan migrate --force -n --database=mysql_testing
19 + - php artisan db:seed --force -n --class=DummyContentSeeder --database=mysql_testing
20 +
21 +script:
22 + - vendor/bin/phpunit
...\ No newline at end of file ...\ No newline at end of file