0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-22 11:07:57 +01:00
Commit Graph

55 Commits

Author SHA1 Message Date
Karl Hobley
df664e0b4e Fixed a missing sudo: true in .travis.yml
Fixes #3018
2016-09-22 11:47:13 +01:00
Matt Westcott
71ce47bc5a Configure Travis to test against the latest Django stable branch on git (#2967) 2016-09-21 12:40:57 +01:00
Karl Hobley
daa82936d7 Elasticsearch 2 support (#2573)
* Created Elasticsearch 2 backend

* Added tests for Elasticsearch 2 backend

* Split models up into different indices

pages, images and documents are now in separate indices

* Prefix fields of child models to prevent mapping clashes

* Replaced index_analyzer with analyzer/search_analyzer

index_analyzer has been removed in Elasticsearch 2.0

https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_mapping_changes.html#_analyzer_mappings

There's no indication in Elasticsearch's docs that this wouldn't work on Elasticsearch 1.x. However, we found that the new configuration isn't reliable on Elasticsearch 1.6 and below (causes the test_query_analyzer test to fail randomly).

* Implemented new way of representing content types in search index

Instead of using a long string of model names that is queried using a
"prefix" query, we instead use a multi-value string field and query it
using a simple "match" query.

The only reason why this isn't implemented in the Elasticsearch 1.x
backend yet is backwards compatibility

* Added another child model of SearchTest with clashing field mapping

This checks that the namespacing of fields on child models is working properly (if it doesn't the update_index tests will fail)

* Added tests for get_model_root function

* fixup! Added tests for get_model_root function

* Docs updates for Elasticsearch 2 support

Also tweak examples to use elasticsearch2 backend by default

* Test against Elasticsearch 2 on travis
2016-08-31 13:46:57 +03:00
Matt Westcott
03d8e738de Disallow CI failures on Django 1.10
Also prune a few Django 1.8 test environments, as a first step to phasing out Dj1.8 support
2016-06-28 16:44:20 +01:00
Mikalai Radchuk
408dcbed43 CI configuration for Django 1.10 (#2724)
Adds Django 1.10a1 into tox.ini

Also adds Django 1.10 into .travis.yaml
2016-06-17 10:12:53 +01:00
Neal Todd
5fe5cb00d9 Remove Travis email notification
Not needed because Slack notification is sufficient and introduces noise.
Also remove redundant and disabled webhook notification.
2016-06-13 14:05:11 +01:00
Matt Westcott
c495f02baf Make elasticsearch switchable in tox, allow ES failures in travis 2016-05-03 13:54:26 +01:00
Josh Barr
13a251466b fixed travis file 2016-02-11 07:22:56 +13:00
Josh Barr
0eee25d157 added slack hook 2016-02-11 06:51:59 +13:00
Dan Braghis
973529f290 Add python version to all Travis matrix options 2016-01-18 11:29:22 +00:00
Matt Westcott
04fdd5f352 Remove Django 1.7 support from documentation, requirements and CI definitions 2016-01-05 17:38:29 +00:00
Karl Hobley
2b38263fba feat(django 1.9): Added Django 1.9 to tox/travis 2015-12-09 11:40:35 +00:00
Karl Hobley
689367dce7 Don't allow failures for Python 3.5 in travis 2015-11-05 16:19:20 +00:00
Karl Hobley
1cefa305ae Use Travis pip cache 2015-10-27 17:19:32 +00:00
Tim Heap
17daa4112b Add Python 3.5 to tox.ini, travis.yml 2015-09-16 14:18:53 +10:00
Karl Hobley
ca48ac2480 Use container-based infrastructure on Travis CI 2015-08-26 11:03:22 +01:00
Matt Westcott
9ebd6979ae CAN HAZ DJANGO 1.8 2015-04-27 15:21:56 +01:00
Karl Hobley
536c09f81f Don't run flake8 test on travis
Running on drone instead
2015-04-13 11:11:10 +01:00
Karl Hobley
5d9eeb25ae Fix flake8 travis config
Accidentally put in wrong section...
2015-04-08 22:40:20 +01:00
Karl Hobley
e68856de7b Test for flake8 errors in tox/travis
Ignoring E501
2015-04-03 16:56:06 +01:00
Karl Hobley
8b9f2b5b30 Remove redis from Travis services
We've never actually used it in tests.
2015-03-30 10:27:23 +01:00
Karl Hobley
f3812f5930 Try to fix "MySQL has gone away" errors 2015-03-30 10:26:25 +01:00
Karl Hobley
e207b962eb Add MySQL to tox/travis 2015-03-27 12:28:00 +00:00
Matt Westcott
0b31f9933f enable tox tests for mysql 2015-02-23 15:33:36 +00:00
Karl Hobley
878addd737 Removed Python 3.2 from travis/tox 2015-01-28 09:43:50 +00:00
Karl Hobley
2d9e39d084 Added Django 1.8 to tox/travis 2015-01-28 09:42:10 +00:00
Matt Westcott
2c50f07136 add py34-dj17-sqlite to travis tests 2015-01-06 15:38:32 +00:00
Karl Hobley
b9ce897441 Removed support for Django 1.6 and Python 2.6 2015-01-02 17:27:54 +00:00
Karl Hobley
43ebd845b6 Added Django 1.7 to tox settings. Use tox on travis 2014-07-28 15:52:42 +01:00
Karl Hobley
f758808a21 Added python 3.2 to travis settings 2014-07-02 22:02:07 +01:00
Matt Westcott
ab486a526a update travis config to not accept failures on 3.4 2014-07-02 17:16:19 +01:00
Neal Todd
ea292d0569 Bump 1.6 testing from 1.6.2 to 1.6.5. Add job for python 3.4 (allowing failure for now). Add commented stub for 1.7.0 jobs when it's released (resulting in four jobs overall). 2014-07-02 13:12:13 +01:00
Karl Hobley
598e6193da Install elasticsearch instead of elasticutils on travis
Conflicts:
	.travis.yml
2014-06-20 10:31:21 +01:00
Tom Talbot
cc2d8b6873 Truncate long search strings
Search query strings must not exceed 255 characters; they will be
truncated if they do. Also added embedly library for Travis.
2014-06-13 14:18:16 +01:00
Karl Hobley
6107fa0bcf Removed unittest2 from .travis.yml 2014-06-03 09:43:10 +01:00
Matt Westcott
41c5c1c457 Python 2.6 compatibility - fixes #156 2014-04-24 16:41:58 +01:00
Karl Hobley
381f8b29d3 Pin elasticutils to version 0.8.2 in .travis.yml (#181) 2014-04-04 09:39:23 +01:00
Neal Todd
d3adc33453 Back to pip wand
Travis VM can't find the python-wand apt-package. But the VM does include ImageMagick automatically so see if this is enough or whether libmagickwand-dev apt package is needed for any other dependencies.
2014-03-12 10:17:40 +00:00
Neal Todd
66c35c1cca Apt installs do need to run with sudo 2014-03-12 10:06:34 +00:00
Neal Todd
8573dde60e Use python-wand apt package for testing
which includes all dependencies (e.g. ImageMagick)
2014-03-12 09:56:27 +00:00
Neal Todd
3c6f76af5e Bumping Django version to 1.6.2 and adding Wand package 2014-03-12 09:45:45 +00:00
Neal Todd
fcdca501a4 Add a change to bump Travis into running again
Internal setup failure (?) in Travis led to spurious test error
2014-02-27 09:05:26 +00:00
Karl Hobley
9322cf71ae Added .coveragerc 2014-02-23 17:23:28 +00:00
Neal Todd
4f1b7ac292 Omit vendor packages (treebeard currently) and migrations from code coverage. 2014-02-17 18:10:55 +00:00
Neal Todd
42282d9345 Fix typo in command 2014-02-17 16:36:59 +00:00
Neal Todd
f1175f1d3b Integrate Coveralls reporting into Travis CI 2014-02-17 16:30:39 +00:00
Neal Todd
f1d155e324 Encrypted Slack webhook 2014-02-14 17:35:57 +00:00
Neal Todd
a58b6203dd Updated Travis to Slackwebhook token (and tweaked README formatting to use snippet given by Travis) 2014-02-14 17:14:52 +00:00
Neal Todd
fdc89f5ea1 Travis webhook for Slack 2014-02-14 13:26:17 +00:00
Neal Todd
ec738ef70d Another elasticsearch dependency 2014-02-14 12:43:03 +00:00