mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-24 11:15:56 +00:00
Travis CI updates (#130)
* Updated travis config to use mysql * Added cache for composer
This commit is contained in:
parent
bcd9c2044e
commit
e584b4926f
12
.travis.yml
12
.travis.yml
@ -1,3 +1,5 @@
|
|||||||
|
dist: trusty
|
||||||
|
sudo: required
|
||||||
language: php
|
language: php
|
||||||
php:
|
php:
|
||||||
- 7.0
|
- 7.0
|
||||||
@ -5,15 +7,21 @@ php:
|
|||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- vendor
|
- vendor
|
||||||
|
- node_modules
|
||||||
|
- $HOME/.composer/cache
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
mariadb: '10.0'
|
apt:
|
||||||
|
packages:
|
||||||
|
- mysql-server-5.6
|
||||||
|
- mysql-client-core-5.6
|
||||||
|
- mysql-client-5.6
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- npm install -g npm@latest
|
- npm install -g npm@latest
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- mysql -e 'create database `bookstack-test`;'
|
- mysql -u root -e 'create database `bookstack-test`;'
|
||||||
- composer config -g github-oauth.github.com $GITHUB_ACCESS_TOKEN
|
- composer config -g github-oauth.github.com $GITHUB_ACCESS_TOKEN
|
||||||
- phpenv config-rm xdebug.ini
|
- phpenv config-rm xdebug.ini
|
||||||
- composer self-update
|
- composer self-update
|
||||||
|
Loading…
Reference in New Issue
Block a user