minimal tests so Bionic Python 3.7 can build and cache

This commit is contained in:
Jay Lee
2019-07-26 14:22:35 -04:00
parent db8ad38fd3
commit 2fef5e2cfa
2 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ matrix:
env: env:
- GAMOS=linux - GAMOS=linux
- PLATFORM=x86_64 - PLATFORM=x86_64
- VMTYPE=build - VMTYPE=cache
- os: linux - os: linux
name: "Linux 64-bit Xenial" name: "Linux 64-bit Xenial"
dist: xenial dist: xenial
@@ -150,7 +150,7 @@ script:
- if [ "$VMTYPE" == "build" ]; then $gam version extended | grep TLSv1\.[23]; fi # Builds should default TLS 1.2 or 1.3 to Google - if [ "$VMTYPE" == "build" ]; then $gam version extended | grep TLSv1\.[23]; fi # Builds should default TLS 1.2 or 1.3 to Google
- if [ "$VMTYPE" == "build" ]; then GAM_TLS_MIN_VERSION=TLSv1_2 $gam version extended location tls-v1-0.badssl.com:1010; [[ $? == 3 ]]; fi # expect fail since server doesn't support our TLS version - if [ "$VMTYPE" == "build" ]; then GAM_TLS_MIN_VERSION=TLSv1_2 $gam version extended location tls-v1-0.badssl.com:1010; [[ $? == 3 ]]; fi # expect fail since server doesn't support our TLS version
- export jid="$(cut -d'.' -f2 <<<"$TRAVIS_JOB_NUMBER")" - export jid="$(cut -d'.' -f2 <<<"$TRAVIS_JOB_NUMBER")"
- if [ "$TRAVIS_EVENT_TYPE" != "pull_request" ]; then export e2e=true; fi #- if [ "$TRAVIS_EVENT_TYPE" != "pull_request" ]; then export e2e=true; fi
- if [ "$e2e" = true ]; then export gam_user=gam-travis-$jid@pdl.jaylee.us; fi - if [ "$e2e" = true ]; then export gam_user=gam-travis-$jid@pdl.jaylee.us; fi
- if [ "$e2e" = true ]; then openssl aes-256-cbc -K $encrypted_ab10ec38326e_key -iv $encrypted_ab10ec38326e_iv -in travis/oauth2service.json.enc -out $gampath/oauth2service.json -d; fi - if [ "$e2e" = true ]; then openssl aes-256-cbc -K $encrypted_ab10ec38326e_key -iv $encrypted_ab10ec38326e_iv -in travis/oauth2service.json.enc -out $gampath/oauth2service.json -d; fi
- if [ "$e2e" = true ]; then cat travis/cfg_template.json | python travis/svars-write.py &> /dev/null; fi - if [ "$e2e" = true ]; then cat travis/cfg_template.json | python travis/svars-write.py &> /dev/null; fi

View File

@@ -10,7 +10,7 @@ else
echo "RUNNING: apt update..." echo "RUNNING: apt update..."
sudo apt-get -qq --yes update > /dev/null sudo apt-get -qq --yes update > /dev/null
echo "RUNNING: apt dist-upgrade..." echo "RUNNING: apt dist-upgrade..."
sudo apt-get -qq --yes dist-upgrade > /dev/null # sudo apt-get -qq --yes dist-upgrade > /dev/null
echo "Installing build tools..." echo "Installing build tools..."
sudo apt-get -qq --yes install build-essential sudo apt-get -qq --yes install build-essential
@@ -101,7 +101,6 @@ else
fi fi
$pip install git+https://github.com/JonathonReinhart/staticx.git@master $pip install git+https://github.com/JonathonReinhart/staticx.git@master
fi fi
$pip install --upgrade pyinstaller
cd $whereibelong cd $whereibelong
fi fi
@@ -109,3 +108,4 @@ echo "Upgrading pip packages..."
$pip freeze > upgrades.txt $pip freeze > upgrades.txt
$pip install --upgrade -r upgrades.txt $pip install --upgrade -r upgrades.txt
$pip install --upgrade -r src/requirements.txt $pip install --upgrade -r src/requirements.txt
$pip install --upgrade pyinstaller