This repository has been archived by the owner on Jun 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/issue-1310-use-new-message-store
- Loading branch information
Showing
33 changed files
with
245 additions
and
794 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,45 +1,51 @@ | ||
sudo: false # We want container builds. | ||
|
||
language: python | ||
python: | ||
- "2.6" | ||
- "2.7" | ||
node_js: | ||
- "0.10" | ||
env: | ||
- RIAK_VERSION="1.4.12-1" VUMITEST_REDIS_DB=1 VUMIGO_TEST_DB=postgres VUMI_TEST_TIMEOUT=10 | ||
## Riak 2.0 sometimes doesn't have enough file descriptors: | ||
## https://github.com/travis-ci/travis-ci/issues/3328 | ||
## Until that's fixed, don't build against new Riak. | ||
# matrix: | ||
# include: | ||
# # Test against the Travis-provided version of Riak (currently 2.0.x). | ||
# # This is a separate matrix inclusion to avoid spawning unnecessary builds. | ||
# - python: "2.7" | ||
# env: RIAK_VERSION=current VUMITEST_REDIS_DB=1 VUMIGO_TEST_DB=postgres VUMI_TEST_TIMEOUT=10 | ||
- RIAK_VERSION="1.4.12" VUMITEST_REDIS_DB=1 VUMIGO_TEST_DB=postgres VUMI_TEST_TIMEOUT=10 | ||
matrix: | ||
include: | ||
# Test against Riak 2.1.1. | ||
# This is a separate matrix inclusion to avoid spawning unnecessary builds. | ||
- python: "2.7" | ||
env: RIAK_VERSION="2.1.1" VUMITEST_REDIS_DB=1 VUMIGO_TEST_DB=postgres VUMI_TEST_TIMEOUT=10 | ||
|
||
cache: | ||
directories: | ||
- $HOME/.cache/pip | ||
- $HOME/downloads | ||
services: | ||
- postgresql | ||
- redis-server | ||
|
||
before_install: | ||
# Set up an appropriate version of Riak. | ||
- sudo utils/setup_travis_riak.sh "${RIAK_VERSION}" | ||
- utils/setup_travis_riak.sh "${RIAK_VERSION}" | ||
install: | ||
# Travis seems to have pip 6.x, which doesn't build and cache wheels. | ||
- "pip install 'pip>=7.1.0'" | ||
- "pip install -r requirements.pip" | ||
- "pip install -r requirements-dev.pip" | ||
- "pip install overalls" | ||
- "npm install" | ||
|
||
before_script: | ||
- "psql -c \"create user go with createdb password 'go';\" -U postgres" | ||
- "psql -c 'create database go owner go;' -U postgres" | ||
- "export PYTHONPATH=." | ||
- "django-admin.py syncdb --migrate --noinput --settings=go.testsettings" | ||
- "pip list" | ||
# To see what version of Riak we're running and check that it's happy. | ||
- riak version | ||
- sudo riak-admin member-status | ||
- $HOME/riak/bin/riak version | ||
- $HOME/riak/bin/riak-admin member-status | ||
script: | ||
- ./run-tests.sh | ||
- grunt test | ||
after_script: | ||
- "psql -c 'drop database go;' -U postgres" | ||
- "psql -c 'drop user go;' -U postgres" | ||
|
||
after_success: | ||
- overalls --py --lcov mochacov.lcov --lcov coverage/*/lcov.info |
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
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
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
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
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
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
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
Oops, something went wrong.