Skip to content
Merged
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ before_install:
- echo "-Xms256m" >> ../apache-cassandra-${CASSANDRA_VERSION}/conf/jvm.options
- echo "-Xmx512m" >> ../apache-cassandra-${CASSANDRA_VERSION}/conf/jvm.options
- sed -i -e 's/^-XX:+UseNUMA/#-XX:+UseNUMA/' ../apache-cassandra-${CASSANDRA_VERSION}/conf/jvm.options
- bash -x ../apache-cassandra-${CASSANDRA_VERSION}/bin/cassandra
- if [[ ${TEST_TARGET} == 'cassandra' ]]; then bash -x ../apache-cassandra-${CASSANDRA_VERSION}/bin/cassandra; else /bin/true; fi

script: npm run lint && npm run coverage -- ${TEST_TARGET} ${TEST_MODE} && (npm run-script coveralls || exit 0)
8 changes: 8 additions & 0 deletions config.frontend.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ default_project: &default_project
parsoid:
host: https://parsoid-beta.wmflabs.org
grace_ttl: 1000000
php_host: https://en.wikipedia.beta.wmflabs.org/w/rest.php
proxy:
default_variant: js
mode: split
pattern:
- en.wikipedia.beta.wmflabs.org
action:
apiUriTemplate: "{{'https://{domain}/w/api.php'}}"
baseUriTemplate: "{{'https://{domain}/api/rest_v1'}}"
Expand Down Expand Up @@ -169,6 +175,8 @@ spec_root: &spec_root
allow:
- pattern: /^https?:\/\/[a-zA-Z0-9\.]+\/w\/api\.php/
forward_headers: true
- pattern: /^https?:\/\/[a-zA-Z0-9\.]+\/w\/rest\.php.+/
forward_headers: true
- pattern: /^https?:\/\/parsoid-beta.wmflabs.org.+/
forward_headers: true
# Need to forward cookie to backend RESTBase
Expand Down
8 changes: 8 additions & 0 deletions config.fullstack.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ default_project: &default_project
parsoid:
host: https://parsoid-beta.wmflabs.org
grace_ttl: 1000000
php_host: https://en.wikipedia.beta.wmflabs.org/w/rest.php
proxy:
default_variant: js
mode: split
pattern:
- en.wikipedia.beta.wmflabs.org
action:
apiUriTemplate: "{{'https://{domain}/w/api.php'}}"
baseUriTemplate: "{{'https://{domain}/api/rest_v1'}}"
Expand Down Expand Up @@ -208,6 +214,8 @@ spec_root: &spec_root
allow:
- pattern: /^https?:\/\/[a-zA-Z0-9\.]+\/w\/api\.php/
forward_headers: true
- pattern: /^https?:\/\/[a-zA-Z0-9\.]+\/w\/rest\.php.+/
forward_headers: true
- pattern: /^https?:\/\/parsoid-beta.wmflabs.org.+/
forward_headers: true
- pattern: /^https?:\/\//
Expand Down
Loading