-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
904 additions
and
718 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
vendor | ||
build/ | ||
/vendor | ||
/build/ | ||
docs/api/cache | ||
.vagrant | ||
.idea/ | ||
/.vagrant | ||
/.idea/ | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,58 @@ | ||
language: php | ||
|
||
php: | ||
- 5.6 | ||
- 7.0 | ||
- hhvm | ||
- nightly | ||
|
||
sudo: required | ||
services: | ||
- docker | ||
|
||
env: | ||
global: | ||
- DOCKER_VERSION=1.10.1-0~trusty | ||
- DOCKER_COMPOSE_VERSION=1.7.1 | ||
matrix: | ||
- TEST_SCRIPT="bin/spider-dev --php=7.0 test" | ||
- TEST_SCRIPT="bin/spider-dev --php=5.6 test" | ||
- TEST_SCRIPT="bin/spider-dev --hhvm=latest test" | ||
- TEST_SCRIPT="bin/run-ci-test.sh" | ||
|
||
matrix: | ||
allow_failures: | ||
exclude: | ||
- php: nightly | ||
- php: 7.0 | ||
env: | ||
- NEO4J_VERSION="2.2.4" GREMLINSERVER_VERSION="3.0.2" ORIENT_VERSION="2.1.6" | ||
env: TEST_SCRIPT="bin/spider-dev --php=7.0 test" | ||
- php: nightly | ||
env: TEST_SCRIPT="bin/spider-dev --php=5.6 test" | ||
- php: nightly | ||
env: TEST_SCRIPT="bin/spider-dev --hhvm=latest test" | ||
- php: 5.6 | ||
env: TEST_SCRIPT="bin/run-ci-test.sh" | ||
allow_failures: | ||
- php: nightly | ||
|
||
cache: | ||
directories: | ||
- ./vendor | ||
|
||
before_install: | ||
- sudo apt-get update > /dev/null | ||
# upgrade docker-engine to specific version | ||
- sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION} | ||
|
||
# reinstall docker-compose at specific version | ||
- sudo rm /usr/local/bin/docker-compose | ||
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose | ||
- chmod +x docker-compose | ||
- sudo mv docker-compose /usr/local/bin | ||
|
||
install: | ||
# install Oracle JDK8 | ||
- sh -c ./CI/jdk8-install.sh | ||
# install gremlin-server | ||
- sh -c ./CI/gremlin-server/install.sh | ||
# install neo4j | ||
- sh -c ./CI/neo4j/install.sh | ||
# install orient | ||
- sh -c ./CI/orient/install.sh | ||
- curl -sS https://getcomposer.org/installer | php | ||
- travis_retry php composer.phar install | ||
|
||
before_script: | ||
- travis_retry composer self-update | ||
- travis_retry composer install --no-interaction --prefer-source --dev | ||
- mkdir -p build/logs | ||
|
||
script: | ||
- mkdir -p build/logs | ||
- php vendor/bin/phpunit -c phpunit.xml.dist | ||
- $TEST_SCRIPT | ||
|
||
after_script: | ||
- php vendor/bin/coveralls -v | ||
|
||
- php vendor/bin/coveralls -v |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
bin/spider-dev up | ||
sleep 40 | ||
php vendor/bin/phpunit -c phpunit.xml.dist |
Oops, something went wrong.