1 # Copyright (c) 2016 GigaSpaces Technologies Ltd. All rights reserved.
3 # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 # not use this file except in compliance with the License. You may obtain
5 # a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 # License for the specific language governing permissions and limitations
29 # since python2.6 no longer comes with the default travis machine, we need to specify it
30 # explicitly. Since it doesn't make sense to require a machine with python 2.6 to run python2.7
31 # tests, we remove any redundant tests via the exclude matrix.
42 - pip install --upgrade pip
48 - PYTEST_PROCESSES=1 tox -e $TOX_ENV
50 # The PYTEST_PROCESSES environment var is used in tox.ini to override the --numprocesses argument
51 # for PyTest's xdist plugin. The reason this is necessary is that conventional Travis environments
52 # may report a large amount of available CPUs, but they they are greatly restricted. Through trial
53 # and error we found that more than 1 process may result in failures.