diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..8a09a926c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +language: php + +php: + - 7.0 + +cache: + directories: + - node_modules + - vendor + +addons: + mariadb: '10.0' + +before_script: + - mysql -e 'create database `bookstack-test`;' + - composer config -g github-oauth.github.com $GITHUB_ACCESS_TOKEN + - phpenv config-rm xdebug.ini + - composer self-update + - composer install --prefer-dist --no-interaction + - npm install + - ./node_modules/.bin/gulp + - php artisan migrate --force -n --database=mysql_testing + - php artisan db:seed --force -n --class=DummyContentSeeder --database=mysql_testing + +script: + - vendor/bin/phpunit \ No newline at end of file diff --git a/readme.md b/readme.md index 11c99c905..8a20d52d9 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # BookStack -![CI Status](https://codeship.com/projects/395dbfb0-f274-0133-7932-6ec9db8dac2c/status?branch=master) +[![Build Status](https://travis-ci.org/ssddanbrown/BookStack.svg)](https://travis-ci.org/ssddanbrown/BookStack) A platform for storing and organising information and documentation. General information and documentation for BookStack can be found at https://www.bookstackapp.com/.