-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (43 loc) · 967 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
44
45
46
47
48
49
50
51
52
language: php
php:
- 7.1
- 7.2
- 7.3
env:
- LARAVEL_VERSION=5.8.*
- LARAVEL_VERSION=6.0.*
matrix:
exclude:
- php: 7.1
env: LARAVEL_VERSION=6.0.*
services:
- mysql
# addons:
# mariadb: '10.3'
before_install:
- mkdir xsir
- shopt -s extglob
- mv !(xsir) xsir
- mv .git xsir
- composer self-update
- mysql -e "CREATE DATABASE laravel;"
before_script:
- composer create-project --prefer-dist laravel/laravel laravel $LARAVEL_VERSION
- mv .env.travis laravel/.env
- mv xsir/phpunit.travis.xml laravel/phpunit.xml
- cd laravel
- composer config repositories.packages path ../xsir/.
- composer require ximdex/semantic-information-repository "*"
- php artisan key:generate
- php artisan migrate
script:
- vendor/bin/phpunit
notifications:
email:
recipients:
- travis@ximdex.com
on_success: change
on_failure: always
slack:
rooms:
- ximdexteam:tJAT66V6VSJeHR3H2CDCImnK#travis-ci