VMTYPE env variable for build vs test

This commit is contained in:
Jay Lee
2019-05-06 10:23:45 -04:00
parent 06525ff690
commit 260160ade1
2 changed files with 12 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ matrix:
env:
- GAMOS=linux
- PLATFORM=x86_64
- VMTYPE=build
- os: linux
name: "Linux 64-bit Trusty"
dist: trusty
@@ -16,6 +17,7 @@ matrix:
env:
- GAMOS=linux
- PLATFORM=x86_64
- VMTYPE=build
- os: linux
name: "Linux 64-bit Precise"
dist: precise
@@ -23,12 +25,15 @@ matrix:
env:
- GAMOS=linux
- PLATFORM=x86_64
- VMTYPE=build
- os: linux
name: "Linux 64-bit Xenial - Python 3.5 Source Testing"
dist: xenial
language: python
python:
- "3.5"
env:
- VMTYPE=test
deploy: true # skips full deploy steps
- os: linux
name: "Linux 64-bit Xenial - Python 3.6 Source Testing"
@@ -36,6 +41,8 @@ matrix:
language: python
python:
- "3.6"
env:
- VMTYPE=test
deploy: true
- os: linux
name: "Linux 64-bit Xenial - Python 3.8-dev Source Testing"
@@ -43,12 +50,16 @@ matrix:
language: python
python:
- "3.8-dev"
env:
- VMTYPE=test
deploy: true
- os: linux
name: "Linux 64-bit Xenial - Python nightly Source Testing"
dist: xenial
python:
- "nightly"
env:
- VMTYPE=test
deploy: true
- os: osx
name: "MacOS 64-bit"

View File

@@ -1,4 +1,4 @@
if [ -n $TRAVIS_PYTHON_VERSION ]; then
if [ "$VMTYPE" == "test" ]; then
export python="python"
export pip="pip"
echo "Travis setup Python $TRAVIS_PYTHON_VERSION"