-
Notifications
You must be signed in to change notification settings - Fork 82
Adding build scripts #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
1752c7a
Adding build scripts
cryptiklemur 0bdf9d2
Refactoring into less
cryptiklemur 8d27588
Adding retry to self-update
cryptiklemur 1d2ae9f
Updating perms
cryptiklemur 2102bd3
FIxing script
cryptiklemur 5d11d28
Fixing script again
cryptiklemur 7353da1
Grr. Fixing
cryptiklemur 0676a94
Updating composer files
cryptiklemur 8080c2b
Removing subsplit stuff
cryptiklemur 497fb3b
Adding bad line
cryptiklemur 5089742
Requiring mockery
cryptiklemur fe98402
Requiring doctrine/cache
cryptiklemur 16e668b
Updating verion req for doctrine, and adding flysystem to base
cryptiklemur cdbc2f5
Updating version req for predis
cryptiklemur 346fd94
Updating version req for predis
cryptiklemur 7b4e756
Updating version reqs
cryptiklemur 9e54b01
Adding memcached extension
cryptiklemur f3cd318
gs
cryptiklemur 94e109f
Fixing req for mongo
cryptiklemur File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Adding build scripts
- Loading branch information
commit 1752c7a55b9c53e1e04513656fde31f3c8b1d002
There are no files selected for viewing
This file contains hidden or 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,3 @@ | ||
| /vendor/ | ||
| composer.lock | ||
|
|
This file contains hidden or 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
This file contains hidden or 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,7 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # Install APC Adapter & APCu Adapter dependencies | ||
| yes '' | pecl install apcu-4.0.8 | ||
|
|
||
| # Install MongoDB Adapter dependencies | ||
| ./installMongo.sh |
This file contains hidden or 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,7 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # Install APC Adapter & APCu Adapter dependencies | ||
| yes '' | pecl install apcu-4.0.8 | ||
|
|
||
| # Install MongoDB Adapter dependencies | ||
| ./installMongo.sh |
This file contains hidden or 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,4 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # Install APC Adapter & APCu Adapter dependencies | ||
| yes '' | pecl install apcu-5.1.0 |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,17 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # Disable xdebug when hhvm or when SEND_COVERAGE is false | ||
| if [[ $TRAVIS_PHP_VERSION != hhvm && $SEND_COVERAGE != true ]]; then phpenv config-rm xdebug.ini; fi | ||
|
|
||
| # Doing something with phpenv | ||
| if [ $TRAVIS_PHP_VERSION != 'hhvm' ]; then phpenv config-add ./tests/travis/php.ini; fi | ||
|
|
||
| # Install codecov | ||
| pip install --user codecov | ||
|
|
||
| # Install Mongo | ||
| ./installMongo.sh | ||
|
|
||
| # Install Redis extension | ||
| mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d | ||
| echo "extension=redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini |
This file contains hidden or 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,3 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # Don't need anything yet |
This file contains hidden or 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,19 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| export KEY_SERVER="hkp://keyserver.ubuntu.com:80" | ||
| export MONGO_REPO_URI="http://repo.mongodb.com/apt/ubuntu" | ||
| export MONGO_REPO_TYPE="precise/mongodb-enterprise/" | ||
|
|
||
| sudo apt-key adv --keyserver ${KEY_SERVER} --recv 7F0CEB10 | ||
| sudo apt-key adv --keyserver ${KEY_SERVER} --recv EA312927 | ||
| echo "deb ${MONGO_REPO_URI} ${MONGO_REPO_TYPE}${SERVER_VERSION} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb.list | ||
| sudo apt-get update -qq | ||
| sudo apt-get install mongodb-enterprise | ||
| sudo apt-get -y install gdb | ||
|
|
||
|
|
||
| if ! nc -z localhost 27017; then sudo service mongod start; fi | ||
| mongod --version | ||
| if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]]; then pecl install -f mongodb-1.1.2; fi; | ||
| mongo --eval 'tojson(db.runCommand({buildInfo:1}))' | ||
| if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]]; then php --ri mongodb; fi; |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line could be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'll just be re-added when you get the heroku thing added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, we use a webhook instead