Skip to content

Commit 0564b16

Browse files
Merge pull request #170 from daniellienert/task/fix-travis-tests
TASK: Fix Travis Teststage
2 parents ab9afcf + c178ac6 commit 0564b16

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ matrix:
33
include:
44
- php: 7.0
55
- php: 5.6
6-
- php: 5.5
76
sudo: false
87
before_install:
8+
- export NEOS_TARGET_VERSION=2.3
99
- cd ..
1010
- wget --no-check-certificate https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.zip && unzip elasticsearch-1.7.5.zip
1111
- mv elasticsearch-1.7.5 elasticsearch
1212
- cd elasticsearch
1313
- bin/elasticsearch -d
1414
- cd ..
15-
- git clone https://github.com/neos/neos-base-distribution.git
15+
- git clone https://github.com/neos/neos-base-distribution.git -b ${NEOS_TARGET_VERSION}
1616
- cd neos-base-distribution
17-
- composer require flowpack/elasticsearch-contentrepositoryadaptor dev-master
18-
- composer require typo3/typo3cr-search dev-master
17+
- composer require flowpack/elasticsearch-contentrepositoryadaptor
18+
- composer require typo3/typo3cr-search
1919
install:
2020
- composer install
2121
- cd ..
2222
- rm -rf neos-base-distribution/Packages/Application/Flowpack.ElasticSearch.ContentRepositoryAdaptor
2323
- mv Flowpack.ElasticSearch.ContentRepositoryAdaptor neos-base-distribution/Packages/Application/Flowpack.ElasticSearch.ContentRepositoryAdaptor
2424
- cd neos-base-distribution
2525
script:
26-
- bin/phpunit -c Build/BuildEssentials/PhpUnit/UnitTests.xml Packages/Application/Flowpack.ElasticSearch.ContentRepositoryAdaptor/Tests/Unit
27-
- bin/phpunit -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/Flowpack.ElasticSearch.ContentRepositoryAdaptor/Tests/Functional
26+
- bin/phpunit --colors -c Build/BuildEssentials/PhpUnit/UnitTests.xml Packages/Application/Flowpack.ElasticSearch.ContentRepositoryAdaptor/Tests/Unit
27+
- bin/phpunit --colors --stop-on-failure -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/Flowpack.ElasticSearch.ContentRepositoryAdaptor/Tests/Functional

0 commit comments

Comments
 (0)