Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
35e59d84
Unverified
Commit
35e59d84
authored
Jan 22, 2018
by
Markus Kalkbrenner
Committed by
GitHub
Jan 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3.x fix travis (#551)
* merged .travis.yml from master
parent
06b243b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
13 deletions
+19
-13
.gitignore
.gitignore
+1
-0
.travis.yml
.travis.yml
+18
-13
No files found.
.gitignore
View file @
35e59d84
...
@@ -4,3 +4,4 @@
...
@@ -4,3 +4,4 @@
/composer.lock
/composer.lock
/vendor
/vendor
/phar/solarium.phar
/phar/solarium.phar
.idea
\ No newline at end of file
.travis.yml
View file @
35e59d84
...
@@ -6,25 +6,29 @@ php:
...
@@ -6,25 +6,29 @@ php:
-
7.1
-
7.1
-
7.0
-
7.0
-
5.6
-
5.6
-
5.5
-
5.4
-
5.3
-
hhvm
-
hhvm
-
nightly
-
nightly
env
:
env
:
-
SYMFONY_VERSION=2.3.*
-
SYMFONY_VERSION=2.3.* SOLR_VERSION=6.6.2
-
SYMFONY_VERSION=2.7.*
-
SYMFONY_VERSION=2.7.* SOLR_VERSION=6.6.2
-
SYMFONY_VERSION=2.8.*
-
SYMFONY_VERSION=2.8.* SOLR_VERSION=6.6.2
-
SYMFONY_VERSION=3.0.*
# Does not work with php below 5.5
-
SYMFONY_VERSION=3.0.* SOLR_VERSION=6.6.2
-
SYMFONY_VERSION=4.0.* SOLR_VERSION=6.6.2
cache
:
cache
:
directories
:
directories
:
-
$HOME/.composer/cache
-
$HOME/.composer/cache
before_install
:
-
composer global require "hirak/prestissimo:^0.3"
-
curl -O http://archive.apache.org/dist/lucene/solr/${SOLR_VERSION}/solr-${SOLR_VERSION}.tgz
-
tar -xzf solr-${SOLR_VERSION}.tgz
before_script
:
before_script
:
-
bash -c "if [ $TRAVIS_PHP_VERSION != 'hhvm' ] && [ $TRAVIS_PHP_VERSION != '7.0' ] && [ $TRAVIS_PHP_VERSION != 'nightly' ]; then printf '\n\n\n\n' | pecl install pecl_http-1.7.6; fi"
# - pecl install pecl_http
-
composer require --prefer-source --dev symfony/event-dispatcher:${SYMFONY_VERSION}
-
composer require --prefer-source --dev symfony/event-dispatcher:${SYMFONY_VERSION}
-
solr-${SOLR_VERSION}/bin/solr start -e techproducts
script
:
vendor/bin/phpunit -c phpunit.xml.travis -v
script
:
vendor/bin/phpunit -c phpunit.xml.travis -v
...
@@ -33,12 +37,13 @@ after_success:
...
@@ -33,12 +37,13 @@ after_success:
matrix
:
matrix
:
exclude
:
exclude
:
-
php
:
5.3
-
php
:
7.0
env
:
SYMFONY_VERSION=3.0.*
env
:
SYMFONY_VERSION=4.0.* SOLR_VERSION=6.6.2
-
php
:
5.4
-
php
:
5.6
env
:
SYMFONY_VERSION=3.0.*
env
:
SYMFONY_VERSION=4.0.* SOLR_VERSION=6.6.2
-
php
:
hhvm
env
:
SYMFONY_VERSION=4.0.* SOLR_VERSION=6.6.2
allow_failures
:
allow_failures
:
-
php
:
5.3
-
php
:
nightly
-
php
:
nightly
sudo
:
false
sudo
:
false
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment