mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Travis logic cleanup
This commit is contained in:
70
.travis.yml
70
.travis.yml
@@ -43,118 +43,78 @@ jobs:
|
|||||||
name: "Linux 64-bit Bionic"
|
name: "Linux 64-bit Bionic"
|
||||||
dist: bionic
|
dist: bionic
|
||||||
language: shell
|
language: shell
|
||||||
env:
|
|
||||||
- GAMOS=linux
|
|
||||||
- PLATFORM=x86_64
|
|
||||||
- VMTYPE=build
|
|
||||||
- os: linux
|
- os: linux
|
||||||
name: "Linux 64-bit Xenial"
|
name: "Linux 64-bit Xenial"
|
||||||
dist: xenial
|
dist: xenial
|
||||||
language: shell
|
language: shell
|
||||||
env:
|
|
||||||
- GAMOS=linux
|
|
||||||
- PLATFORM=x86_64
|
|
||||||
- VMTYPE=build
|
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
arch: arm64
|
arch: arm64
|
||||||
name: "Linux ARM64 Bionic"
|
name: "Linux ARM64 Bionic"
|
||||||
language: shell
|
language: shell
|
||||||
filter_secrets: false
|
filter_secrets: false
|
||||||
env:
|
|
||||||
- GAMOS=linux
|
|
||||||
- PLATFORM=arm64
|
|
||||||
- VMTYPE=build
|
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: xenial
|
dist: xenial
|
||||||
arch: arm64
|
arch: arm64
|
||||||
name: "Linux ARM64 Xenial"
|
name: "Linux ARM64 Xenial"
|
||||||
language: shell
|
language: shell
|
||||||
filter_secrets: false
|
filter_secrets: false
|
||||||
env:
|
|
||||||
- GAMOS=linux
|
|
||||||
- PLATFORM=arm64
|
|
||||||
- VMTYPE=build
|
|
||||||
- os: linux
|
- os: linux
|
||||||
name: "Linux 64-bit Trusty"
|
name: "Linux 64-bit Trusty"
|
||||||
dist: trusty
|
dist: trusty
|
||||||
language: shell
|
language: shell
|
||||||
env:
|
|
||||||
- GAMOS=linux
|
|
||||||
- PLATFORM=x86_64
|
|
||||||
- VMTYPE=build
|
|
||||||
- os: linux
|
- os: linux
|
||||||
name: "Python 3.6 Source Testing"
|
name: "Python 3.6 Source Testing"
|
||||||
dist: bionic
|
dist: bionic
|
||||||
language: python
|
language: python
|
||||||
python: 3.6
|
python: 3.6
|
||||||
env:
|
|
||||||
- GAMOS=linux
|
|
||||||
- PLATFORM=x86_64
|
|
||||||
- VMTYPE=test
|
|
||||||
- os: linux
|
- os: linux
|
||||||
name: "Python 3.7 Source Testing"
|
name: "Python 3.7 Source Testing"
|
||||||
dist: bionic
|
dist: bionic
|
||||||
language: python
|
language: python
|
||||||
python: 3.7
|
python: 3.7
|
||||||
env:
|
|
||||||
- GAMOS=linux
|
|
||||||
- PLATFORM=x86_64
|
|
||||||
- VMTYPE=test
|
|
||||||
- os: linux
|
- os: linux
|
||||||
name: "Python nightly Source Testing"
|
name: "Python nightly Source Testing"
|
||||||
dist: bionic
|
dist: bionic
|
||||||
language: python
|
language: python
|
||||||
python: nightly
|
python: nightly
|
||||||
env:
|
|
||||||
- GAMOS=linux
|
|
||||||
- PLATFORM=x86_64
|
|
||||||
- VMTYPE=test
|
|
||||||
- os: linux
|
- os: linux
|
||||||
name: "Python PyPi Source Testing"
|
name: "Python PyPi Source Testing"
|
||||||
dist: xenial
|
dist: xenial
|
||||||
language: python
|
language: python
|
||||||
python: pypy3
|
python: pypy3
|
||||||
env:
|
|
||||||
- GAMOS=linux
|
|
||||||
- PLATFORM=x86_64
|
|
||||||
- VMTYPE=test
|
|
||||||
- os: osx
|
- os: osx
|
||||||
name: "MacOS 10.13"
|
name: "MacOS 10.13"
|
||||||
language: generic
|
language: generic
|
||||||
osx_image: xcode10.1
|
osx_image: xcode10.1
|
||||||
env:
|
|
||||||
- GAMOS=macos
|
|
||||||
- PLATFORM=x86_64
|
|
||||||
- VMTYPE=build
|
|
||||||
- os: osx
|
- os: osx
|
||||||
name: "MacOS 10.14"
|
name: "MacOS 10.14"
|
||||||
language: generic
|
language: generic
|
||||||
osx_image: xcode11.3
|
osx_image: xcode11.3
|
||||||
env:
|
|
||||||
- GAMOS=macos
|
|
||||||
- PLATFORM=x86_64
|
|
||||||
- VMTYPE=build
|
|
||||||
- os: windows
|
- os: windows
|
||||||
name: "Windows 64-bit"
|
name: "Windows 64-bit"
|
||||||
language: shell
|
language: shell
|
||||||
env:
|
|
||||||
- GAMOS=windows
|
|
||||||
- PLATFORM=x86_64
|
|
||||||
- VMTYPE=build
|
|
||||||
- os: windows
|
- os: windows
|
||||||
name: "Windows 32-bit"
|
name: "Windows 32-bit"
|
||||||
language: shell
|
language: shell
|
||||||
env:
|
|
||||||
- GAMOS=windows
|
|
||||||
- PLATFORM=x86
|
|
||||||
- VMTYPE=build
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- source src/travis/$TRAVIS_OS_NAME-before-install.sh
|
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
|
||||||
|
export GAMOS="macos";
|
||||||
|
else
|
||||||
|
export GAMOS="${TRAVIS_OS_NAME}";
|
||||||
|
fi
|
||||||
|
- if [ "${TRAVIS_CPU_ARCH}" == "amd64" ]; then
|
||||||
|
export PLATFORM="x86_64";
|
||||||
|
elif [ "${TRAVIS_OS_NAME}" == "Windows 32-bit" ];
|
||||||
|
then export PLATFORM="x86";
|
||||||
|
else
|
||||||
|
export PLATFORM="${TRAVIS_OS_NAME};
|
||||||
|
fi
|
||||||
|
- source src/travis/${TRAVIS_OS_NAME}-before-install.sh
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- source src/travis/$TRAVIS_OS_NAME-install.sh
|
- source src/travis/${TRAVIS_OS_NAME}-install.sh
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Discover and run all Python unit tests. Buffer output so that it's not sent to the build log.
|
# Discover and run all Python unit tests. Buffer output so that it's not sent to the build log.
|
||||||
@@ -274,4 +234,4 @@ deploy:
|
|||||||
draft: true
|
draft: true
|
||||||
on:
|
on:
|
||||||
repo: jay0lee/GAM
|
repo: jay0lee/GAM
|
||||||
condition: $VMTYPE = build
|
condition: $TRAVIS_JOB_NAME != *"Testing"
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ gmail.googleapis.com
|
|||||||
groupssettings.googleapis.com
|
groupssettings.googleapis.com
|
||||||
iam.googleapis.com
|
iam.googleapis.com
|
||||||
licensing.googleapis.com
|
licensing.googleapis.com
|
||||||
plus.googleapis.com
|
|
||||||
reseller.googleapis.com
|
reseller.googleapis.com
|
||||||
sheets.googleapis.com
|
sheets.googleapis.com
|
||||||
siteverification.googleapis.com
|
siteverification.googleapis.com
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
if [ "$VMTYPE" == "test" ]; then
|
if [ "$TRAVIS_JOB_NAME" == *"Testing" ]; then
|
||||||
export python="python"
|
export python="python"
|
||||||
export pip="pip"
|
export pip="pip"
|
||||||
echo "Travis setup Python $TRAVIS_PYTHON_VERSION"
|
echo "Travis setup Python $TRAVIS_PYTHON_VERSION"
|
||||||
|
|||||||
Reference in New Issue
Block a user