forked from TYPO3-Solr/ext-solr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
70 lines (59 loc) · 1.59 KB
/
.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
dist: bionic
language: php
services:
- mysql
php:
- 7.2
- 7.3
- 7.4
jdk:
- oraclejdk11
addons:
apt:
packages:
- parallel
- haveged
env:
global:
- TYPO3_DATABASE_NAME="typo3_ci"
- TYPO3_DATABASE_HOST="127.0.0.1"
- TYPO3_DATABASE_USERNAME="root"
- TYPO3_DATABASE_PASSWORD=""
- PHP_CS_FIXER_VERSION="^2.16.1"
matrix:
- TYPO3_VERSION="^10.4"
- TYPO3_VERSION="10.4.x-dev"
- TYPO3_VERSION="dev-master"
matrix:
fast_finish: true
allow_failures:
- env: TYPO3_VERSION="10.4.x-dev"
- env: TYPO3_VERSION="dev-master"
before_install:
# Move MySQL data to ram file system
- sudo mount -o remount,size=3584m /var/ramfs
- sudo systemctl stop mysql && sudo mv /var/lib/mysql /var/ramfs/. && sudo ln -s /var/ramfs/mysql /var/lib/mysql
- sudo systemctl start mysql
- mysql -e 'CREATE DATABASE IF NOT EXISTS typo3_ci;'
# Install newer docker version
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
# Update composer
- composer self-update
- composer --version
- composer validate --no-check-lock
install:
- Build/Test/bootstrap.sh
script:
- Build/Test/cibuild_docker.sh
- Build/Test/cibuild.sh
after_script:
- Build/Test/publish_coverage.sh
- Build/Test/cleanup.sh
- Build/Release/ter_tag_uploader.sh
cache:
directories:
- $HOME/.composer/cache
- $HOME/solr/downloads