forked from BeWelcome/rox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (34 loc) · 850 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
dist: trusty
language: php
git:
depth: 3
php:
- '7.3'
addons:
mariadb: '10.1'
env:
- DB_HOST=127.0.0.1 APP_ENV=test
cache:
directories:
- $HOME/.composer/cache
- $HOME/.npm
- $HOME/.nvm
before_install:
- nvm install v8.4
- nvm use v8.4
- rvm install 2.2
- gem install sass
- phpenv config-rm xdebug.ini
- sudo mysql -u root -e 'create database bewelcome;'
- sudo mysql -u root -e "GRANT ALL PRIVILEGES ON bewelcome.* TO 'bewelcome'@'localhost' IDENTIFIED BY 'bewelcome';"
- sudo mysql -u root -e 'FLUSH PRIVILEGES;'
install:
- yarn install --frozen-lock
- composer install --no-interaction --ignore-platform-reqs --no-scripts
script:
- bin/console doctrine:schema:create
- bin/console hautelook:fixtures:load --no-interaction
- bin/console cache:clear
- make version
- make
- make build