Committed by
GitHub
Travis CI updates (#130)
* Updated travis config to use mysql * Added cache for composer
Showing
1 changed file
with
10 additions
and
2 deletions
| 1 | +dist: trusty | ||
| 2 | +sudo: required | ||
| 1 | language: php | 3 | language: php |
| 2 | php: | 4 | php: |
| 3 | - 7.0 | 5 | - 7.0 |
| ... | @@ -5,15 +7,21 @@ php: | ... | @@ -5,15 +7,21 @@ php: |
| 5 | cache: | 7 | cache: |
| 6 | directories: | 8 | directories: |
| 7 | - vendor | 9 | - vendor |
| 10 | + - node_modules | ||
| 11 | + - $HOME/.composer/cache | ||
| 8 | 12 | ||
| 9 | addons: | 13 | addons: |
| 10 | - mariadb: '10.0' | 14 | + apt: |
| 15 | + packages: | ||
| 16 | + - mysql-server-5.6 | ||
| 17 | + - mysql-client-core-5.6 | ||
| 18 | + - mysql-client-5.6 | ||
| 11 | 19 | ||
| 12 | before_install: | 20 | before_install: |
| 13 | - npm install -g npm@latest | 21 | - npm install -g npm@latest |
| 14 | 22 | ||
| 15 | before_script: | 23 | before_script: |
| 16 | - - mysql -e 'create database `bookstack-test`;' | 24 | + - mysql -u root -e 'create database `bookstack-test`;' |
| 17 | - composer config -g github-oauth.github.com $GITHUB_ACCESS_TOKEN | 25 | - composer config -g github-oauth.github.com $GITHUB_ACCESS_TOKEN |
| 18 | - phpenv config-rm xdebug.ini | 26 | - phpenv config-rm xdebug.ini |
| 19 | - composer self-update | 27 | - composer self-update | ... | ... |
-
Please register or sign in to post a comment