From 5d62b37fb4ec9d205422d87900a10bf2b41c8ac5 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Thu, 24 Dec 2020 05:53:02 -0700 Subject: make sure the build actually works (#1) * get ready to wrestle with build infra for three hours * put some things back where they came from * juggle more dependency stuff * it's always something * use correct python * look harder for the correct DLLs fml * correctly disable sh -x * i swear to fuckin christ * bdg voice i am going to throw myself into the sea --- .travis.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 1809209..7ff4c8d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,32 @@ language: shell -if: tag IS present -dist: xenial +if: tag IS present OR branch = build-fuckery +dist: bionic os: - linux - osx - windows addons: + apt: + packages: + - python3.7 + - python3.7-dev + - python3-pip + - python3-setuptools + - python3-tk homebrew: packages: - - python + - python@3.7 before_install: - chmod +x scripts/setup_${TRAVIS_OS_NAME}.sh - . scripts/setup_${TRAVIS_OS_NAME}.sh install: - - which python3 && export PYTHON=python3 || export PYTHON=python + - which python && export PYTHON=python || echo whatever + - which python3 && export PYTHON=python3 || echo whatever + - which python3.7 && export PYTHON=python3.7 || echo whatever - echo ${PYTHON} - - ${PYTHON} -m pip install -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04/ -r requirements.txt + - ${PYTHON} -m pip install -r requirements.txt +script: + - ${PYTHON} setup.py build before_deploy: - ${PYTHON} setup.py build - pushd build -- cgit v1.2.3