forked from corcel/acf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (34 loc) · 814 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
language: php
matrix:
include:
- php: 7.2
env: CORCEL='^4.0'
- php: 7.3
env: CORCEL='^4.0'
- php: 7.3
env: CORCEL='^5.0'
- php: 7.4
env: CORCEL='^4.0'
- php: 7.4
env: CORCEL='^5.0'
dist: trusty
addons:
apt:
packages:
- unzip
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
before_script:
- unzip tests/config/database.sql.zip -d tests/config/
- mysql -u root -e "create database corcel_acf;"
- mysql -u root corcel_acf < tests/config/database.sql
before_install:
- rm composer.lock
- composer self-update
- composer require jgrossi/corcel:$CORCEL --no-interaction --no-update
install:
- composer install --prefer-dist --no-interaction --no-suggest
script:
- mkdir -p build/logs
- ./vendor/bin/phpunit