forked from neos/metadata-extractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
20 lines (20 loc) · 870 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: php
matrix:
include:
- php: 7.0
sudo: false
before_install:
- export NEOS_TARGET_VERSION=3.0
- cd ..
- git clone https://github.com/neos/neos-base-distribution.git -b ${NEOS_TARGET_VERSION}
- cd neos-base-distribution
- composer require --no-update --no-interaction neos/metadata-extractor
install:
- composer install --no-interaction
- cd ..
- rm -rf neos-base-distribution/Packages/Application/Neos.MetaData.Extractor
- mv metadata-extractor neos-base-distribution/Packages/Application/Neos.MetaData.Extractor
- cd neos-base-distribution
script:
- bin/phpunit --colors -c Build/BuildEssentials/PhpUnit/UnitTests.xml Packages/Application/Neos.MetaData.Extractor/Tests/Unit
- bin/phpunit --colors --stop-on-failure -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/Neos.MetaData.Extractor/Tests/Functional