Run all tests everywhere

This commit is contained in:
Markus Unterwaditzer 2017-01-23 12:56:46 +01:00
parent 3514d7348c
commit a3e39f9c7c
2 changed files with 10 additions and 21 deletions

View file

@ -9,7 +9,7 @@
"submodules": false "submodules": false
}, },
"install": [ "install": [
"if [ \"$BUILD_PRS\" = \"true\" ] || [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then\n . scripts/travis-install.sh;\n pip install -U pip;\n pip install wheel;\n make -e install-dev;\n make -e install-$BUILD;\nfi" "\n. scripts/travis-install.sh;\npip install -U pip;\npip install wheel;\nmake -e install-dev;\nmake -e install-$BUILD;\n"
], ],
"language": "python", "language": "python",
"matrix": { "matrix": {
@ -122,7 +122,7 @@
] ]
}, },
"script": [ "script": [
"if [ \"$BUILD_PRS\" = \"true\" ] || [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then\n make -e $BUILD;\nfi" "make -e $BUILD"
], ],
"sudo": true "sudo": true
} }

View file

@ -5,15 +5,6 @@ import sys
python_versions = ("3.3", "3.4", "3.5", "3.6") python_versions = ("3.3", "3.4", "3.5", "3.6")
latest_python = "3.6" latest_python = "3.6"
def script(x):
return """
if [ "$BUILD_PRS" = "true" ] || [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
{}
fi
""".strip().format(x.strip())
cfg = {} cfg = {}
cfg['sudo'] = True cfg['sudo'] = True
@ -27,17 +18,15 @@ cfg['branches'] = {
'only': ['auto', 'master'] 'only': ['auto', 'master']
} }
cfg['install'] = [script(""" cfg['install'] = ["""
. scripts/travis-install.sh; . scripts/travis-install.sh;
pip install -U pip; pip install -U pip;
pip install wheel; pip install wheel;
make -e install-dev; make -e install-dev;
make -e install-$BUILD; make -e install-$BUILD;
""")] """]
cfg['script'] = [script(""" cfg['script'] = ["make -e $BUILD"]
make -e $BUILD;
""")]
matrix = [] matrix = []
cfg['matrix'] = {'include': matrix} cfg['matrix'] = {'include': matrix}