mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
fix testing test, remove trusty
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if [ "$TRAVIS_JOB_NAME" == *"Testing" ]; then
|
||||
if [[ "$TRAVIS_JOB_NAME" == *"Testing" ]]; then
|
||||
export python="python"
|
||||
export pip="pip"
|
||||
echo "Travis setup Python $TRAVIS_PYTHON_VERSION"
|
||||
@@ -91,7 +91,7 @@ else
|
||||
python=~/python/bin/python3
|
||||
pip=~/python/bin/pip3
|
||||
|
||||
if [ "${dist}" == "trusty" ]; then
|
||||
if ([ "${dist}" == "trusty" ] || [ "${dist}" == "xenial" ]); then
|
||||
echo "Installing deps for StaticX..."
|
||||
if [ ! -d patchelf-$PATCHELF_VERSION ]; then
|
||||
echo "Downloading PatchELF $PATCHELF_VERSION"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
cd src
|
||||
if [ "$VMTYPE" == "test" ]; then
|
||||
if [[ "$TRAVIS_JOB_NAME" == *"Testing" ]]; then
|
||||
export gam="$python gam.py"
|
||||
export gampath=$(readlink -e .)
|
||||
else
|
||||
@@ -18,8 +18,8 @@ else
|
||||
du -h gam/gam
|
||||
time $gam version extended
|
||||
|
||||
if [ "${dist}" == "trusty" ]; then
|
||||
GAM_LEGACY_ARCHIVE=gam-${GAMVERSION}-${GAMOS}-${PLATFORM}-legacy.tar.xz
|
||||
if ([ "${dist}" == "trusty" ] || [ "$(dist)" == "xenial" ]); then
|
||||
GAM_LEGACY_ARCHIVE=gam-${GAMVERSION}-${GAMOS}-${PLATFORM}-${dist}legacy.tar.xz
|
||||
$python -OO -m staticx gam/gam gam/gam-staticx
|
||||
strip gam/gam-staticx
|
||||
rm gam/gam
|
||||
|
||||
Reference in New Issue
Block a user