Update project maturity status
[multicloud/azure.git] / azure / aria / aria-extension-cloudify / .travis.yml
1 # Copyright (c) 2016 GigaSpaces Technologies Ltd. All rights reserved.
2 #
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
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
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
13 # under the License.
14
15 sudo: false
16
17 language: python
18
19 python:
20   - '2.7'
21   - '2.6'
22
23 env:
24   - TOX_ENV=flake8
25   - TOX_ENV=py27
26   - TOX_ENV=py26
27
28 matrix:
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.
32   exclude:
33   - python: '2.6'
34     env: TOX_ENV=flake8
35   - python: '2.6'
36     env: TOX_ENV=py27
37   - python: '2.7'
38     env: TOX_ENV=py26
39
40
41 install:
42   - pip install --upgrade pip
43   - pip install tox
44
45 script:
46   - pip --version
47   - tox --version
48   - PYTEST_PROCESSES=1 tox -e $TOX_ENV
49
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.
54